#2F329E#2F329E
#2F329E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.1% C 0.170 H 274.0°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2F329E |
|---|---|
| RGB | rgb(47, 50, 158) |
| HSL | hsl(238, 54%, 40%) |
| HSV | hsv(238, 70%, 62%) |
| CMYK | cmyk(70.3%, 68.4%, 0%, 38%) |
| CIE-LAB | lab(27.72, 35.00, -58.87) |
| CIE-LCH | lch(27.72, 68.49, 300.73°) |
| OKLab | oklab(39.14% 0.0119 -0.1701) |
| OKLCH | oklch(39.14% 0.17 274) |
| XYZ | xyz(8.4824, 5.3534, 32.9274) |
| Luminance | 0.0535 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.84
Blueberry
#464196
ΔE00 5.33
Darkslateblue
#483D8B
ΔE00 5.99
Indigo Blue
#3A18B1
ΔE00 6.41
Ocean Blue
#4F42B5
ΔE00 6.50
Royal
#0C1793
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F329E #9E9B2F
analogous
#2F6A9E #2F329E #632F9E
triadic
#2F329E #9E2F32 #329E2F
tetradic
#2F329E #9E2F6A #9E9B2F #2F9E63
square
#2F329E #9E2F6A #9E9B2F #2F9E63
split-complementary
#2F329E #9E632F #6A9E2F
monochromatic
#131440 #21236F #2F329E #4347C7 #7275D5
Accessibility & contrast
On white
10.14
#2F329E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#2F329E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F329E
10.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F329E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F329E | 1.00 | 10.14 | 2.07 | 10.14 |
| #FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#003C9C
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2f329e; /* rgb */ color: rgb(47, 50, 158); /* oklch */ color: oklch(39.1% 0.170 274.0);
Tailwind
colors: {
custom: {
50: '#776abc',
500: '#2f329e',
950: '#000000',
},
}SCSS
$custom: #2f329e; $custom-light: #776abc; $custom-dark: #000000;
JSON
{
"hex": "#2f329e",
"rgb": {
"r": 47,
"g": 50,
"b": 158
},
"hsl": {
"h": 238.378,
"s": 54.146,
"l": 40.196
},
"oklch": {
"l": 0.39135,
"c": 0.17049,
"h": 274
},
"luminance": 0.05354
}Semantic roles & 50–950 ramp
primary
#2F329E
secondary
#BDBB6C
accent
#DA4ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81