#2A37AF#2A37AF
#2A37AF is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.3% C 0.188 H 270.5°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2A37AF |
|---|---|
| RGB | rgb(42, 55, 175) |
| HSL | hsl(234, 61%, 43%) |
| HSV | hsv(234, 76%, 69%) |
| CMYK | cmyk(76%, 68.6%, 0%, 31.4%) |
| CIE-LAB | lab(30.20, 37.34, -65.04) |
| CIE-LCH | lch(30.20, 75.00, 299.86°) |
| OKLab | oklab(41.35% 0.0015 -0.1882) |
| OKLCH | oklch(41.35% 0.188 270.5) |
| XYZ | xyz(10.0563, 6.3187, 41.2388) |
| Luminance | 0.0632 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.23
Blue Blue
#2242C7
ΔE00 4.37
Ocean Blue
#4F42B5
ΔE00 5.24
Blueberry
#464196
ΔE00 5.86
Blue With A Hint Of Purple
#533CC6
ΔE00 6.23
Cobalt
#0047AB
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A37AF #AFA22A
analogous
#2A7AAF #2A37AF #5F2AAF
triadic
#2A37AF #AF2A37 #37AF2A
tetradic
#2A37AF #AF2A7A #AFA22A #2AAF5F
square
#2A37AF #AF2A7A #AFA22A #2AAF5F
split-complementary
#2A37AF #AF5F2A #7AAF2A
monochromatic
#12184C #1E277E #2A37AF #4452D2 #7580DE
Accessibility & contrast
On white
9.28
#2A37AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#2A37AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A37AF
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A37AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A37AF | 1.00 | 9.28 | 2.26 | 9.28 |
| #FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#0041AD
Tritanopia (blue-blind)
#00586E
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2a37af; /* rgb */ color: rgb(42, 55, 175); /* oklch */ color: oklch(41.3% 0.188 270.5);
Tailwind
colors: {
custom: {
50: '#796ec8',
500: '#2a37af',
950: '#000000',
},
}SCSS
$custom: #2a37af; $custom-light: #796ec8; $custom-dark: #000000;
JSON
{
"hex": "#2a37af",
"rgb": {
"r": 42,
"g": 55,
"b": 175
},
"hsl": {
"h": 234.135,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.41348,
"c": 0.18824,
"h": 270.5
},
"luminance": 0.0632
}Semantic roles & 50–950 ramp
primary
#2A37AF
secondary
#C6BD6F
accent
#D543E4
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82