#2B2F90#2B2F90
#2B2F90 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.0% C 0.156 H 273.9°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2F90 |
|---|---|
| RGB | rgb(43, 47, 144) |
| HSL | hsl(238, 54%, 37%) |
| HSV | hsv(238, 70%, 56%) |
| CMYK | cmyk(70.1%, 67.4%, 0%, 43.5%) |
| CIE-LAB | lab(25.44, 31.41, -54.03) |
| CIE-LCH | lch(25.44, 62.49, 300.17°) |
| OKLab | oklab(37.01% 0.0107 -0.156) |
| OKLCH | oklch(37.01% 0.156 273.9) |
| XYZ | xyz(7.0451, 4.5596, 26.8890) |
| Luminance | 0.0456 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.54
Darkslateblue
#483D8B
ΔE00 5.86
Blueberry
#464196
ΔE00 5.90
Royal
#0C1793
ΔE00 6.07
Midnight Blue
#191970
ΔE00 7.07
Indigo Blue
#3A18B1
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2F90 #908C2B
analogous
#2B6290 #2B2F90 #5A2B90
triadic
#2B2F90 #902B2F #2F902B
tetradic
#2B2F90 #902B62 #908C2B #2B905A
square
#2B2F90 #902B62 #908C2B #2B905A
split-complementary
#2B2F90 #905A2B #62902B
monochromatic
#0F1032 #1D2061 #2B2F90 #393EBF #6569D1
Accessibility & contrast
On white
10.98
#2B2F90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#2B2F90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2F90
10.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2F90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2F90 | 1.00 | 10.98 | 1.91 | 10.98 |
| #FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#00388E
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2b2f90; /* rgb */ color: rgb(43, 47, 144); /* oklch */ color: oklch(37.0% 0.156 273.9);
Tailwind
colors: {
custom: {
50: '#7368b1',
500: '#2b2f90',
950: '#000000',
},
}SCSS
$custom: #2b2f90; $custom-light: #7368b1; $custom-dark: #000000;
JSON
{
"hex": "#2b2f90",
"rgb": {
"r": 43,
"g": 47,
"b": 144
},
"hsl": {
"h": 237.624,
"s": 54.011,
"l": 36.667
},
"oklch": {
"l": 0.37013,
"c": 0.15639,
"h": 273.9
},
"luminance": 0.0456
}Semantic roles & 50–950 ramp
primary
#2B2F90
secondary
#B7B460
accent
#D84ADD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80