#2F327D#2F327D
#2F327D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.1% C 0.125 H 276.5°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2F327D |
|---|---|
| RGB | rgb(47, 50, 125) |
| HSL | hsl(238, 45%, 34%) |
| HSV | hsv(238, 62%, 49%) |
| CMYK | cmyk(62.4%, 60%, 0%, 51%) |
| CIE-LAB | lab(24.85, 23.18, -43.12) |
| CIE-LCH | lch(24.85, 48.95, 298.26°) |
| OKLab | oklab(36.14% 0.014 -0.1239) |
| OKLCH | oklch(36.14% 0.125 276.5) |
| XYZ | xyz(6.0134, 4.3658, 19.9239) |
| Luminance | 0.0437 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.02
Blueberry
#464196
ΔE00 5.94
Midnight Blue
#191970
ΔE00 7.07
Sapphire (survey)
#2138AB
ΔE00 7.18
Marine
#042E60
ΔE00 7.72
Royal
#0C1793
ΔE00 8.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F327D #7D7A2F
analogous
#2F597D #2F327D #532F7D
triadic
#2F327D #7D2F32 #327D2F
tetradic
#2F327D #7D2F59 #7D7A2F #2F7D53
square
#2F327D #7D2F59 #7D7A2F #2F7D53
split-complementary
#2F327D #7D532F #597D2F
monochromatic
#0E0E24 #1E2051 #2F327D #4044A9 #6266C4
Accessibility & contrast
On white
11.21
#2F327D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#2F327D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F327D
11.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F327D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F327D | 1.00 | 11.21 | 1.87 | 11.21 |
| #FFFFFF | 11.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2f327d; /* rgb */ color: rgb(47, 50, 125); /* oklch */ color: oklch(36.1% 0.125 276.5);
Tailwind
colors: {
custom: {
50: '#706aa3',
500: '#2f327d',
950: '#000000',
},
}SCSS
$custom: #2f327d; $custom-light: #706aa3; $custom-dark: #000000;
JSON
{
"hex": "#2f327d",
"rgb": {
"r": 47,
"g": 50,
"b": 125
},
"hsl": {
"h": 237.692,
"s": 45.349,
"l": 33.725
},
"oklch": {
"l": 0.36138,
"c": 0.12466,
"h": 276.5
},
"luminance": 0.04366
}Semantic roles & 50–950 ramp
primary
#2F327D
secondary
#ABA85D
accent
#D053D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F