#2A37A8#2A37A8
#2A37A8 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.7% C 0.179 H 270.7°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #2A37A8 |
|---|---|
| RGB | rgb(42, 55, 168) |
| HSL | hsl(234, 60%, 41%) |
| HSV | hsv(234, 75%, 66%) |
| CMYK | cmyk(75%, 67.3%, 0%, 34.1%) |
| CIE-LAB | lab(29.54, 34.82, -61.94) |
| CIE-LCH | lch(29.54, 71.05, 299.34°) |
| OKLab | oklab(40.67% 0.0021 -0.1791) |
| OKLCH | oklch(40.67% 0.179 270.7) |
| XYZ | xyz(9.3865, 6.0508, 37.7114) |
| Luminance | 0.0605 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 0.95
Blue Blue
#2242C7
ΔE00 5.05
Blueberry
#464196
ΔE00 5.35
Ocean Blue
#4F42B5
ΔE00 5.63
Cobalt
#0047AB
ΔE00 6.63
Darkslateblue
#483D8B
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A37A8 #A89B2A
analogous
#2A76A8 #2A37A8 #5C2AA8
triadic
#2A37A8 #A82A37 #37A82A
tetradic
#2A37A8 #A82A76 #A89B2A #2AA85C
square
#2A37A8 #A82A76 #A89B2A #2AA85C
split-complementary
#2A37A8 #A85C2A #76A82A
monochromatic
#121746 #1E2777 #2A37A8 #404FCF #717CDB
Accessibility & contrast
On white
9.50
#2A37A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#2A37A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A37A8
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A37A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A37A8 | 1.00 | 9.50 | 2.21 | 9.50 |
| #FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CAC
Deuteranopia (green-blind)
#0040A6
Tritanopia (blue-blind)
#00556A
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2a37a8; /* rgb */ color: rgb(42, 55, 168); /* oklch */ color: oklch(40.7% 0.179 270.7);
Tailwind
colors: {
custom: {
50: '#776ec3',
500: '#2a37a8',
950: '#000000',
},
}SCSS
$custom: #2a37a8; $custom-light: #776ec3; $custom-dark: #000000;
JSON
{
"hex": "#2a37a8",
"rgb": {
"r": 42,
"g": 55,
"b": 168
},
"hsl": {
"h": 233.81,
"s": 60,
"l": 41.176
},
"oklch": {
"l": 0.40666,
"c": 0.17916,
"h": 270.7
},
"luminance": 0.06052
}Semantic roles & 50–950 ramp
primary
#2A37A8
secondary
#C3BA6B
accent
#D345E3
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82