#2A37B3#2A37B3
#2A37B3 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.7% C 0.193 H 270.3°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2A37B3 |
|---|---|
| RGB | rgb(42, 55, 179) |
| HSL | hsl(234, 62%, 43%) |
| HSV | hsv(234, 77%, 70%) |
| CMYK | cmyk(76.5%, 69.3%, 0%, 29.8%) |
| CIE-LAB | lab(30.59, 38.76, -66.79) |
| CIE-LCH | lch(30.59, 77.23, 300.13°) |
| OKLab | oklab(41.74% 0.0011 -0.1933) |
| OKLCH | oklch(41.74% 0.193 270.3) |
| XYZ | xyz(10.4549, 6.4781, 43.3385) |
| Luminance | 0.0648 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.64
Blue Blue
#2242C7
ΔE00 4.03
Ocean Blue
#4F42B5
ΔE00 5.09
Blue With A Hint Of Purple
#533CC6
ΔE00 5.85
Blueberry
#464196
ΔE00 6.18
Blue (survey)
#0343DF
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A37B3 #B3A62A
analogous
#2A7BB3 #2A37B3 #622AB3
triadic
#2A37B3 #B32A37 #37B32A
tetradic
#2A37B3 #B32A7B #B3A62A #2AB362
square
#2A37B3 #B32A7B #B3A62A #2AB362
split-complementary
#2A37B3 #B3622A #7BB32A
monochromatic
#131950 #1E2881 #2A37B3 #4654D4 #7882DF
Accessibility & contrast
On white
9.15
#2A37B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2A37B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A37B3
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A37B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A37B3 | 1.00 | 9.15 | 2.30 | 9.15 |
| #FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#0041B1
Tritanopia (blue-blind)
#005970
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2a37b3; /* rgb */ color: rgb(42, 55, 179); /* oklch */ color: oklch(41.7% 0.193 270.3);
Tailwind
colors: {
custom: {
50: '#7a6ecb',
500: '#2a37b3',
950: '#000000',
},
}SCSS
$custom: #2a37b3; $custom-light: #7a6ecb; $custom-dark: #000000;
JSON
{
"hex": "#2a37b3",
"rgb": {
"r": 42,
"g": 55,
"b": 179
},
"hsl": {
"h": 234.307,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.41744,
"c": 0.19334,
"h": 270.3
},
"luminance": 0.06479
}Semantic roles & 50–950 ramp
primary
#2A37B3
secondary
#C7BF72
accent
#D643E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82