#2F327E#2F327E
#2F327E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.2% C 0.126 H 276.4°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2F327E |
|---|---|
| RGB | rgb(47, 50, 126) |
| HSL | hsl(238, 46%, 34%) |
| HSV | hsv(238, 63%, 49%) |
| CMYK | cmyk(62.7%, 60.3%, 0%, 50.6%) |
| CIE-LAB | lab(24.93, 23.54, -43.62) |
| CIE-LCH | lch(24.93, 49.57, 298.35°) |
| OKLab | oklab(36.22% 0.014 -0.1253) |
| OKLCH | oklch(36.22% 0.126 276.4) |
| XYZ | xyz(6.0776, 4.3914, 20.2620) |
| Luminance | 0.0439 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.97
Blueberry
#464196
ΔE00 5.85
Sapphire (survey)
#2138AB
ΔE00 7.01
Midnight Blue
#191970
ΔE00 7.06
Marine
#042E60
ΔE00 7.81
Royal
#0C1793
ΔE00 8.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F327E #7E7B2F
analogous
#2F5A7E #2F327E #542F7E
triadic
#2F327E #7E2F32 #327E2F
tetradic
#2F327E #7E2F5A #7E7B2F #2F7E54
square
#2F327E #7E2F5A #7E7B2F #2F7E54
split-complementary
#2F327E #7E542F #5A7E2F
monochromatic
#0E0F25 #1E2051 #2F327E #4044AB #6366C5
Accessibility & contrast
On white
11.18
#2F327E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#2F327E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F327E
11.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F327E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F327E | 1.00 | 11.18 | 1.88 | 11.18 |
| #FFFFFF | 11.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F81
Deuteranopia (green-blind)
#00387C
Tritanopia (blue-blind)
#004453
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2f327e; /* rgb */ color: rgb(47, 50, 126); /* oklch */ color: oklch(36.2% 0.126 276.4);
Tailwind
colors: {
custom: {
50: '#706aa4',
500: '#2f327e',
950: '#000000',
},
}SCSS
$custom: #2f327e; $custom-light: #706aa4; $custom-dark: #000000;
JSON
{
"hex": "#2f327e",
"rgb": {
"r": 47,
"g": 50,
"b": 126
},
"hsl": {
"h": 237.722,
"s": 45.665,
"l": 33.922
},
"oklch": {
"l": 0.36223,
"c": 0.12612,
"h": 276.4
},
"luminance": 0.04392
}Semantic roles & 50–950 ramp
primary
#2F327E
secondary
#ACA95D
accent
#D052D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F