#2F328E#2F328E
#2F328E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.149 H 275.2°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2F328E |
|---|---|
| RGB | rgb(47, 50, 142) |
| HSL | hsl(238, 50%, 37%) |
| HSV | hsv(238, 67%, 56%) |
| CMYK | cmyk(66.9%, 64.8%, 0%, 44.3%) |
| CIE-LAB | lab(26.27, 29.31, -51.43) |
| CIE-LCH | lch(26.27, 59.19, 299.68°) |
| OKLab | oklab(37.63% 0.0134 -0.1483) |
| OKLCH | oklch(37.63% 0.149 275.2) |
| XYZ | xyz(7.1938, 4.8379, 26.1406) |
| Luminance | 0.0484 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.60
Darkslateblue
#483D8B
ΔE00 4.98
Blueberry
#464196
ΔE00 5.05
Royal
#0C1793
ΔE00 7.05
Midnight Blue
#191970
ΔE00 7.60
Ocean Blue
#4F42B5
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F328E #8E8B2F
analogous
#2F628E #2F328E #5B2F8E
triadic
#2F328E #8E2F32 #328E2F
tetradic
#2F328E #8E2F62 #8E8B2F #2F8E5B
square
#2F328E #8E2F62 #8E8B2F #2F8E5B
split-complementary
#2F328E #8E5B2F #628E2F
monochromatic
#111232 #202260 #2F328E #3E42BC #6A6DCE
Accessibility & contrast
On white
10.67
#2F328E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2F328E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F328E
10.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F328E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F328E | 1.00 | 10.67 | 1.97 | 10.67 |
| #FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2f328e; /* rgb */ color: rgb(47, 50, 142); /* oklch */ color: oklch(37.6% 0.149 275.2);
Tailwind
colors: {
custom: {
50: '#746ab0',
500: '#2f328e',
950: '#000000',
},
}SCSS
$custom: #2f328e; $custom-light: #746ab0; $custom-dark: #000000;
JSON
{
"hex": "#2f328e",
"rgb": {
"r": 47,
"g": 50,
"b": 142
},
"hsl": {
"h": 238.105,
"s": 50.265,
"l": 37.059
},
"oklch": {
"l": 0.37632,
"c": 0.14888,
"h": 275.2
},
"luminance": 0.04839
}Semantic roles & 50–950 ramp
primary
#2F328E
secondary
#B5B264
accent
#D54EDA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80