#2A2F90#2A2F90
#2A2F90 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.157 H 273.5°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2F90 |
|---|---|
| RGB | rgb(42, 47, 144) |
| HSL | hsl(237, 55%, 36%) |
| HSV | hsv(237, 71%, 56%) |
| CMYK | cmyk(70.8%, 67.4%, 0%, 43.5%) |
| CIE-LAB | lab(25.38, 31.27, -54.14) |
| CIE-LCH | lch(25.38, 62.52, 300.01°) |
| OKLab | oklab(36.95% 0.0095 -0.1564) |
| OKLCH | oklch(36.95% 0.157 273.5) |
| XYZ | xyz(7.0037, 4.5382, 26.8870) |
| Luminance | 0.0454 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.51
Darkslateblue
#483D8B
ΔE00 5.94
Blueberry
#464196
ΔE00 5.96
Royal
#0C1793
ΔE00 6.07
Midnight Blue
#191970
ΔE00 7.06
Indigo Blue
#3A18B1
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2F90 #908B2A
analogous
#2A6290 #2A2F90 #582A90
triadic
#2A2F90 #902A2F #2F902A
tetradic
#2A2F90 #902A62 #908B2A #2A9058
square
#2A2F90 #902A62 #908B2A #2A9058
split-complementary
#2A2F90 #90582A #62902A
monochromatic
#0E1031 #1C2061 #2A2F90 #383EBF #6368D1
Accessibility & contrast
On white
11.01
#2A2F90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#2A2F90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2F90
11.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2F90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2F90 | 1.00 | 11.01 | 1.91 | 11.01 |
| #FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#00378E
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2a2f90; /* rgb */ color: rgb(42, 47, 144); /* oklch */ color: oklch(36.9% 0.157 273.5);
Tailwind
colors: {
custom: {
50: '#7268b1',
500: '#2a2f90',
950: '#000000',
},
}SCSS
$custom: #2a2f90; $custom-light: #7268b1; $custom-dark: #000000;
JSON
{
"hex": "#2a2f90",
"rgb": {
"r": 42,
"g": 47,
"b": 144
},
"hsl": {
"h": 237.059,
"s": 54.839,
"l": 36.471
},
"oklch": {
"l": 0.36948,
"c": 0.15665,
"h": 273.5
},
"luminance": 0.04539
}Semantic roles & 50–950 ramp
primary
#2A2F90
secondary
#B7B35E
accent
#D74ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80