#2B2F6C#2B2F6C
#2B2F6C is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.8% C 0.104 H 276.4°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2F6C |
|---|---|
| RGB | rgb(43, 47, 108) |
| HSL | hsl(236, 43%, 30%) |
| HSV | hsv(236, 60%, 42%) |
| CMYK | cmyk(60.2%, 56.5%, 0%, 57.6%) |
| CIE-LAB | lab(22.40, 18.23, -36.24) |
| CIE-LCH | lch(22.40, 40.56, 296.70°) |
| OKLab | oklab(33.82% 0.0117 -0.1038) |
| OKLCH | oklch(33.82% 0.104 276.4) |
| XYZ | xyz(4.7187, 3.6290, 14.6363) |
| Luminance | 0.0363 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 6.32
Midnight Blue
#191970
ΔE00 7.07
Darkslateblue
#483D8B
ΔE00 7.09
Navy Blue
#1B2A4A
ΔE00 7.25
Marine Blue
#01386A
ΔE00 8.30
Blueberry
#464196
ΔE00 8.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2F6C #6C682B
analogous
#2B506C #2B2F6C #482B6C
triadic
#2B2F6C #6C2B2F #2F6C2B
tetradic
#2B2F6C #6C2B50 #6C682B #2B6C48
square
#2B2F6C #6C2B50 #6C682B #2B6C48
split-complementary
#2B2F6C #6C482B #506C2B
monochromatic
#090A16 #1A1C40 #2B2F6C #3C4298 #565CBC
Accessibility & contrast
On white
12.17
#2B2F6C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#2B2F6C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2F6C
12.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2F6C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2F6C | 1.00 | 12.17 | 1.73 | 12.17 |
| #FFFFFF | 12.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#09386E
Deuteranopia (green-blind)
#00336B
Tritanopia (blue-blind)
#043D48
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2b2f6c; /* rgb */ color: rgb(43, 47, 108); /* oklch */ color: oklch(33.8% 0.104 276.4);
Tailwind
colors: {
custom: {
50: '#6b6797',
500: '#2b2f6c',
950: '#000000',
},
}SCSS
$custom: #2b2f6c; $custom-light: #6b6797; $custom-dark: #000000;
JSON
{
"hex": "#2b2f6c",
"rgb": {
"r": 43,
"g": 47,
"b": 108
},
"hsl": {
"h": 236.308,
"s": 43.046,
"l": 29.608
},
"oklch": {
"l": 0.33824,
"c": 0.10442,
"h": 276.4
},
"luminance": 0.03629
}Semantic roles & 50–950 ramp
primary
#2B2F6C
secondary
#9E9955
accent
#CB55D3
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060D
muted
#7A7A7E