#2F326F#2F326F
#2F326F is a dark, moderate blue. Relative luminance 0.040; OKLCH L 35.0% C 0.104 H 277.5°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2F326F |
|---|---|
| RGB | rgb(47, 50, 111) |
| HSL | hsl(237, 41%, 31%) |
| HSV | hsv(237, 58%, 44%) |
| CMYK | cmyk(57.7%, 55%, 0%, 56.5%) |
| CIE-LAB | lab(23.78, 18.12, -35.94) |
| CIE-LCH | lch(23.78, 40.24, 296.76°) |
| OKLab | oklab(35% 0.0135 -0.1027) |
| OKLCH | oklch(35% 0.104 277.5) |
| XYZ | xyz(5.1812, 4.0329, 15.5412) |
| Luminance | 0.0403 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.26
Marine
#042E60
ΔE00 6.77
Blueberry
#464196
ΔE00 7.59
Navy Blue
#1B2A4A
ΔE00 7.74
Midnight Blue
#191970
ΔE00 7.79
Marine Blue
#01386A
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F326F #6F6C2F
analogous
#2F526F #2F326F #4C2F6F
triadic
#2F326F #6F2F32 #326F2F
tetradic
#2F326F #6F2F52 #6F6C2F #2F6F4C
square
#2F326F #6F2F52 #6F6C2F #2F6F4C
split-complementary
#2F326F #6F4C2F #526F2F
monochromatic
#0B0B19 #1D1F44 #2F326F #41459A #5E62BB
Accessibility & contrast
On white
11.62
#2F326F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#2F326F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F326F
11.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F326F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F326F | 1.00 | 11.62 | 1.81 | 11.62 |
| #FFFFFF | 11.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#103B71
Deuteranopia (green-blind)
#05366E
Tritanopia (blue-blind)
#0F404B
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2f326f; /* rgb */ color: rgb(47, 50, 111); /* oklch */ color: oklch(35.0% 0.104 277.5);
Tailwind
colors: {
custom: {
50: '#6d6999',
500: '#2f326f',
950: '#000000',
},
}SCSS
$custom: #2f326f; $custom-light: #6d6999; $custom-dark: #000000;
JSON
{
"hex": "#2f326f",
"rgb": {
"r": 47,
"g": 50,
"b": 111
},
"hsl": {
"h": 237.188,
"s": 40.506,
"l": 30.98
},
"oklch": {
"l": 0.35005,
"c": 0.10361,
"h": 277.5
},
"luminance": 0.04033
}Semantic roles & 50–950 ramp
primary
#2F326F
secondary
#A09D59
accent
#CB57D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E