#2A247F#2A247F
#2A247F is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.147 H 277.8°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2A247F |
|---|---|
| RGB | rgb(42, 36, 127) |
| HSL | hsl(244, 56%, 32%) |
| HSV | hsv(244, 72%, 50%) |
| CMYK | cmyk(66.9%, 71.7%, 0%, 50.2%) |
| CIE-LAB | lab(21.15, 32.25, -50.43) |
| CIE-LCH | lch(21.15, 59.86, 302.60°) |
| OKLab | oklab(33.4% 0.0199 -0.1455) |
| OKLCH | oklch(33.4% 0.147 277.8) |
| XYZ | xyz(5.4152, 3.2859, 20.4234) |
| Luminance | 0.0329 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.62
Royal
#0C1793
ΔE00 4.79
Indigo (survey)
#380282
ΔE00 6.70
Dark Royal Blue
#02066F
ΔE00 7.14
Darkblue
#00008B
ΔE00 7.32
Navy
#000080
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A247F #797F24
analogous
#244C7F #2A247F #58247F
triadic
#2A247F #7F2A24 #247F2A
tetradic
#2A247F #7F244C #797F24 #247F58
square
#2A247F #7F244C #797F24 #247F58
split-complementary
#2A247F #7F5824 #4C7F24
monochromatic
#0A0920 #1A164F #2A247F #3A32AF #5850CD
Accessibility & contrast
On white
12.67
#2A247F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#2A247F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A247F
12.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A247F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A247F | 1.00 | 12.67 | 1.66 | 12.67 |
| #FFFFFF | 12.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#002F7D
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #2a247f; /* rgb */ color: rgb(42, 36, 127); /* oklch */ color: oklch(33.4% 0.147 277.8);
Tailwind
colors: {
custom: {
50: '#6f60a5',
500: '#2a247f',
950: '#000000',
},
}SCSS
$custom: #2a247f; $custom-light: #6f60a5; $custom-dark: #000000;
JSON
{
"hex": "#2a247f",
"rgb": {
"r": 42,
"g": 36,
"b": 127
},
"hsl": {
"h": 243.956,
"s": 55.828,
"l": 31.961
},
"oklch": {
"l": 0.33397,
"c": 0.14688,
"h": 277.8
},
"luminance": 0.03286
}Semantic roles & 50–950 ramp
primary
#2A247F
secondary
#ABB14E
accent
#DF49D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08050F
muted
#7B797F