#2B2F7F#2B2F7F
#2B2F7F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.4% C 0.133 H 275.1°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2F7F |
|---|---|
| RGB | rgb(43, 47, 127) |
| HSL | hsl(237, 49%, 33%) |
| HSV | hsv(237, 66%, 50%) |
| CMYK | cmyk(66.1%, 63%, 0%, 50.2%) |
| CIE-LAB | lab(23.93, 25.22, -45.89) |
| CIE-LCH | lch(23.93, 52.36, 298.79°) |
| OKLab | oklab(35.44% 0.0119 -0.1321) |
| OKLCH | oklch(35.44% 0.133 275.1) |
| XYZ | xyz(5.8423, 4.0784, 20.5539) |
| Luminance | 0.0408 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.71
Midnight Blue
#191970
ΔE00 6.18
Blueberry
#464196
ΔE00 6.49
Sapphire (survey)
#2138AB
ΔE00 6.85
Royal
#0C1793
ΔE00 7.40
Marine
#042E60
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2F7F #7F7B2B
analogous
#2B597F #2B2F7F #512B7F
triadic
#2B2F7F #7F2B2F #2F7F2B
tetradic
#2B2F7F #7F2B59 #7F7B2B #2B7F51
square
#2B2F7F #7F2B59 #7F7B2B #2B7F51
split-complementary
#2B2F7F #7F512B #597F2B
monochromatic
#0C0D24 #1C1E51 #2B2F7F #3A40AD #5C62C8
Accessibility & contrast
On white
11.57
#2B2F7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#2B2F7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2F7F
11.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2F7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2F7F | 1.00 | 11.57 | 1.82 | 11.57 |
| #FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2b2f7f; /* rgb */ color: rgb(43, 47, 127); /* oklch */ color: oklch(35.4% 0.133 275.1);
Tailwind
colors: {
custom: {
50: '#6f67a5',
500: '#2b2f7f',
950: '#000000',
},
}SCSS
$custom: #2b2f7f; $custom-light: #6f67a5; $custom-dark: #000000;
JSON
{
"hex": "#2b2f7f",
"rgb": {
"r": 43,
"g": 47,
"b": 127
},
"hsl": {
"h": 237.143,
"s": 49.412,
"l": 33.333
},
"oklch": {
"l": 0.35437,
"c": 0.13267,
"h": 275.1
},
"luminance": 0.04079
}Semantic roles & 50–950 ramp
primary
#2B2F7F
secondary
#AEAA58
accent
#D24FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F