#2F327C#2F327C
#2F327C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.123 H 276.5°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2F327C |
|---|---|
| RGB | rgb(47, 50, 124) |
| HSL | hsl(238, 45%, 34%) |
| HSV | hsv(238, 62%, 49%) |
| CMYK | cmyk(62.1%, 59.7%, 0%, 51.4%) |
| CIE-LAB | lab(24.77, 22.81, -42.62) |
| CIE-LCH | lch(24.77, 48.34, 298.16°) |
| OKLab | oklab(36.05% 0.014 -0.1224) |
| OKLCH | oklch(36.05% 0.123 276.5) |
| XYZ | xyz(5.9498, 4.3403, 19.5891) |
| Luminance | 0.0434 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.07
Blueberry
#464196
ΔE00 6.03
Midnight Blue
#191970
ΔE00 7.08
Sapphire (survey)
#2138AB
ΔE00 7.34
Marine
#042E60
ΔE00 7.63
Royal
#0C1793
ΔE00 8.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F327C #7C792F
analogous
#2F587C #2F327C #522F7C
triadic
#2F327C #7C2F32 #327C2F
tetradic
#2F327C #7C2F58 #7C792F #2F7C52
square
#2F327C #7C2F58 #7C792F #2F7C52
split-complementary
#2F327C #7C522F #587C2F
monochromatic
#0D0E23 #1E2050 #2F327C #4044A8 #6266C3
Accessibility & contrast
On white
11.24
#2F327C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#2F327C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F327C
11.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F327C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F327C | 1.00 | 11.24 | 1.87 | 11.24 |
| #FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#00387A
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2f327c; /* rgb */ color: rgb(47, 50, 124); /* oklch */ color: oklch(36.1% 0.123 276.5);
Tailwind
colors: {
custom: {
50: '#706aa2',
500: '#2f327c',
950: '#000000',
},
}SCSS
$custom: #2f327c; $custom-light: #706aa2; $custom-dark: #000000;
JSON
{
"hex": "#2f327c",
"rgb": {
"r": 47,
"g": 50,
"b": 124
},
"hsl": {
"h": 237.662,
"s": 45.029,
"l": 33.529
},
"oklch": {
"l": 0.36054,
"c": 0.12319,
"h": 276.5
},
"luminance": 0.04341
}Semantic roles & 50–950 ramp
primary
#2F327C
secondary
#AAA75C
accent
#D053D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F