Compare two colours
Both values, two named difference metrics with their conditions, and the WCAG contrast between them. A difference is a number under stated conditions, not a judgement.
A · #00008B
- sRGB
- rgb(0 0 139)
- OKLCh
- 0.288 0.199 264.1
- OKLab
- 0.288 -0.021 -0.198
- CIELAB
- 13.02 43.48 -71.34 (D50)
User-specified sRGB value · no record, no historical attribution.
B · #191970
- sRGB
- rgb(25 25 112)
- OKLCh
- 0.288 0.144 272.8
- OKLab
- 0.288 0.007 -0.143
- CIELAB
- 14.93 25.96 -50.90 (D50)
From record midnightblue css-midnightblue-srgb · CSS named colourspublished value · recorded as srgb 0.098, 0.098, 0.4392 · Normative sRGB value #191970 (25 25 112) from the specification, divided by 255.UnreviewedW3C CSS Working Group, CSS Color Module Level 4 (2026-10-29), § 6.1 Named Colors, named-color table, midnightblue #191970
Difference
| CIEDE2000 ΔE₀₀ | 6.04 | CIELAB, D50 (Bradford adaptation from sRGB’s D65), kL = kC = kH = 1 |
|---|---|---|
| OKLab ΔE (Euclidean) | 0.0615 | OKLab, D65, L on a 0–1 scale; the distance the Dictionary and map use |
| OKLCh by axis | ΔL +0.000 · ΔC -0.056 · Δh 8.7° | B minus A; hue as the smaller arc. Viewing conditions: sRGB as displayed, D65, 2° observer assumed by the conversions. |
No threshold of perceptibility is claimed for either metric: how visible a difference is depends on size, surround, adaptation and the display.
Contrast 1.03:1
- normal text, AA (SC 1.4.3) · at least 4.5:1fails
- normal text, AAA (SC 1.4.6) · at least 7:1fails
- large text, AA (SC 1.4.3) · at least 3:1fails
- large text, AAA (SC 1.4.6) · at least 4.5:1fails
- interface parts and graphics, AA (SC 1.4.11) · at least 3:1fails
WCAG 2.1 ratio between the two sRGB values as displayed; the same in either direction.