#2F329F#2F329F
#2F329F is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.2% C 0.172 H 273.9°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2F329F |
|---|---|
| RGB | rgb(47, 50, 159) |
| HSL | hsl(238, 54%, 40%) |
| HSV | hsv(238, 70%, 62%) |
| CMYK | cmyk(70.4%, 68.6%, 0%, 37.6%) |
| CIE-LAB | lab(27.81, 35.35, -59.32) |
| CIE-LCH | lch(27.81, 69.06, 300.79°) |
| OKLab | oklab(39.23% 0.0118 -0.1714) |
| OKLCH | oklch(39.23% 0.172 273.9) |
| XYZ | xyz(8.5688, 5.3879, 33.3826) |
| Luminance | 0.0539 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.77
Blueberry
#464196
ΔE00 5.37
Darkslateblue
#483D8B
ΔE00 6.07
Indigo Blue
#3A18B1
ΔE00 6.33
Ocean Blue
#4F42B5
ΔE00 6.42
Royal
#0C1793
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F329F #9F9C2F
analogous
#2F6A9F #2F329F #642F9F
triadic
#2F329F #9F2F32 #329F2F
tetradic
#2F329F #9F2F6A #9F9C2F #2F9F64
square
#2F329F #9F2F6A #9F9C2F #2F9F64
split-complementary
#2F329F #9F642F #6A9F2F
monochromatic
#131441 #212370 #2F329F #4447C8 #7375D6
Accessibility & contrast
On white
10.11
#2F329F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#2F329F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F329F
10.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F329F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F329F | 1.00 | 10.11 | 2.08 | 10.11 |
| #FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2f329f; /* rgb */ color: rgb(47, 50, 159); /* oklch */ color: oklch(39.2% 0.172 273.9);
Tailwind
colors: {
custom: {
50: '#786abc',
500: '#2f329f',
950: '#000000',
},
}SCSS
$custom: #2f329f; $custom-light: #786abc; $custom-dark: #000000;
JSON
{
"hex": "#2f329f",
"rgb": {
"r": 47,
"g": 50,
"b": 159
},
"hsl": {
"h": 238.393,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.39231,
"c": 0.17181,
"h": 273.9
},
"luminance": 0.05389
}Semantic roles & 50–950 ramp
primary
#2F329F
secondary
#BDBB6D
accent
#DA4ADE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81