#2B2F74#2B2F74
#2B2F74 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.5% C 0.117 H 275.9°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2F74 |
|---|---|
| RGB | rgb(43, 47, 116) |
| HSL | hsl(237, 46%, 31%) |
| HSV | hsv(237, 63%, 45%) |
| CMYK | cmyk(62.9%, 59.5%, 0%, 54.5%) |
| CIE-LAB | lab(23.02, 21.17, -40.38) |
| CIE-LCH | lch(23.02, 45.59, 297.67°) |
| OKLab | oklab(34.48% 0.012 -0.1159) |
| OKLCH | oklch(34.48% 0.117 275.9) |
| XYZ | xyz(5.1641, 3.8072, 16.9823) |
| Luminance | 0.0381 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.30
Midnight Blue
#191970
ΔE00 6.42
Marine
#042E60
ΔE00 6.80
Blueberry
#464196
ΔE00 7.44
Navy Blue
#1B2A4A
ΔE00 8.40
Marine Blue
#01386A
ΔE00 8.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2F74 #74702B
analogous
#2B5374 #2B2F74 #4B2B74
triadic
#2B2F74 #742B2F #2F742B
tetradic
#2B2F74 #742B53 #74702B #2B744B
square
#2B2F74 #742B53 #74702B #2B744B
split-complementary
#2B2F74 #744B2B #53742B
monochromatic
#0A0B1B #1A1D47 #2B2F74 #3C41A1 #585EC1
Accessibility & contrast
On white
11.92
#2B2F74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#2B2F74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2F74
11.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2F74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2F74 | 1.00 | 11.92 | 1.76 | 11.92 |
| #FFFFFF | 11.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A76
Deuteranopia (green-blind)
#003473
Tritanopia (blue-blind)
#003F4C
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2b2f74; /* rgb */ color: rgb(43, 47, 116); /* oklch */ color: oklch(34.5% 0.117 275.9);
Tailwind
colors: {
custom: {
50: '#6d679d',
500: '#2b2f74',
950: '#000000',
},
}SCSS
$custom: #2b2f74; $custom-light: #6d679d; $custom-dark: #000000;
JSON
{
"hex": "#2b2f74",
"rgb": {
"r": 43,
"g": 47,
"b": 116
},
"hsl": {
"h": 236.712,
"s": 45.912,
"l": 31.176
},
"oklch": {
"l": 0.34482,
"c": 0.11655,
"h": 275.9
},
"luminance": 0.03808
}Semantic roles & 50–950 ramp
primary
#2B2F74
secondary
#A6A155
accent
#CE52D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E