#281E7A#281E7A
#281E7A is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.148 H 278.8°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).
Color values
| HEX | #281E7A |
|---|---|
| RGB | rgb(40, 30, 122) |
| HSL | hsl(247, 61%, 30%) |
| HSV | hsv(247, 75%, 48%) |
| CMYK | cmyk(67.2%, 75.4%, 0%, 52.2%) |
| CIE-LAB | lab(19.16, 33.92, -50.53) |
| CIE-LCH | lch(19.16, 60.86, 303.87°) |
| OKLab | oklab(31.78% 0.0225 -0.1459) |
| OKLCH | oklch(31.78% 0.148 278.8) |
| XYZ | xyz(4.8511, 2.7844, 18.6904) |
| Luminance | 0.0278 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.41
Royal
#0C1793
ΔE00 4.54
Indigo (survey)
#380282
ΔE00 5.57
Dark Royal Blue
#02066F
ΔE00 5.66
Deep Blue
#040273
ΔE00 6.03
Navy
#000080
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281E7A #707A1E
analogous
#1E427A #281E7A #561E7A
triadic
#281E7A #7A281E #1E7A28
tetradic
#281E7A #7A1E42 #707A1E #1E7A56
square
#281E7A #7A1E42 #707A1E #1E7A56
split-complementary
#281E7A #7A561E #427A1E
monochromatic
#080619 #181249 #281E7A #382AAB #5142D0
Accessibility & contrast
On white
13.49
#281E7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#281E7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281E7A
13.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281E7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281E7A | 1.00 | 13.49 | 1.56 | 13.49 |
| #FFFFFF | 13.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327D
Deuteranopia (green-blind)
#002B78
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #281e7a; /* rgb */ color: rgb(40, 30, 122); /* oklch */ color: oklch(31.8% 0.148 278.8);
Tailwind
colors: {
custom: {
50: '#6e5ba1',
500: '#281e7a',
950: '#000000',
},
}SCSS
$custom: #281e7a; $custom-light: #6e5ba1; $custom-dark: #000000;
JSON
{
"hex": "#281e7a",
"rgb": {
"r": 40,
"g": 30,
"b": 122
},
"hsl": {
"h": 246.522,
"s": 60.526,
"l": 29.804
},
"oklch": {
"l": 0.31776,
"c": 0.14759,
"h": 278.8
},
"luminance": 0.02785
}Semantic roles & 50–950 ramp
primary
#281E7A
secondary
#A2AE46
accent
#E444D2
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F