#2B2F71#2B2F71
#2B2F71 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.2% C 0.112 H 276.1°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2F71 |
|---|---|
| RGB | rgb(43, 47, 113) |
| HSL | hsl(237, 45%, 31%) |
| HSV | hsv(237, 62%, 44%) |
| CMYK | cmyk(61.9%, 58.4%, 0%, 55.7%) |
| CIE-LAB | lab(22.79, 20.07, -38.84) |
| CIE-LCH | lch(22.79, 43.71, 297.32°) |
| OKLab | oklab(34.23% 0.012 -0.1114) |
| OKLCH | oklch(34.23% 0.112 276.1) |
| XYZ | xyz(4.9924, 3.7385, 16.0781) |
| Luminance | 0.0374 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.56
Marine
#042E60
ΔE00 6.58
Midnight Blue
#191970
ΔE00 6.62
Blueberry
#464196
ΔE00 7.78
Navy Blue
#1B2A4A
ΔE00 7.97
Marine Blue
#01386A
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2F71 #716D2B
analogous
#2B5271 #2B2F71 #4A2B71
triadic
#2B2F71 #712B2F #2F712B
tetradic
#2B2F71 #712B52 #716D2B #2B714A
square
#2B2F71 #712B52 #716D2B #2B714A
split-complementary
#2B2F71 #714A2B #52712B
monochromatic
#090A18 #1A1D45 #2B2F71 #3C419D #575DBF
Accessibility & contrast
On white
12.02
#2B2F71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#2B2F71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2F71
12.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2F71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2F71 | 1.00 | 12.02 | 1.75 | 12.02 |
| #FFFFFF | 12.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#003370
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2b2f71; /* rgb */ color: rgb(43, 47, 113); /* oklch */ color: oklch(34.2% 0.112 276.1);
Tailwind
colors: {
custom: {
50: '#6c679a',
500: '#2b2f71',
950: '#000000',
},
}SCSS
$custom: #2b2f71; $custom-light: #6c679a; $custom-dark: #000000;
JSON
{
"hex": "#2b2f71",
"rgb": {
"r": 43,
"g": 47,
"b": 113
},
"hsl": {
"h": 236.571,
"s": 44.872,
"l": 30.588
},
"oklch": {
"l": 0.34231,
"c": 0.11205,
"h": 276.1
},
"luminance": 0.03739
}Semantic roles & 50–950 ramp
primary
#2B2F71
secondary
#A39E55
accent
#CD53D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E