#2F328C#2F328C
#2F328C is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.146 H 275.3°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2F328C |
|---|---|
| RGB | rgb(47, 50, 140) |
| HSL | hsl(238, 50%, 37%) |
| HSV | hsv(238, 66%, 55%) |
| CMYK | cmyk(66.4%, 64.3%, 0%, 45.1%) |
| CIE-LAB | lab(26.09, 28.59, -50.47) |
| CIE-LCH | lch(26.09, 58.01, 299.53°) |
| OKLab | oklab(37.45% 0.0135 -0.1455) |
| OKLCH | oklch(37.45% 0.146 275.3) |
| XYZ | xyz(7.0450, 4.7784, 25.3569) |
| Luminance | 0.0478 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.87
Darkslateblue
#483D8B
ΔE00 4.91
Blueberry
#464196
ΔE00 5.08
Royal
#0C1793
ΔE00 7.16
Midnight Blue
#191970
ΔE00 7.47
Ocean Blue
#4F42B5
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F328C #8C892F
analogous
#2F618C #2F328C #5B2F8C
triadic
#2F328C #8C2F32 #328C2F
tetradic
#2F328C #8C2F61 #8C892F #2F8C5B
square
#2F328C #8C2F61 #8C892F #2F8C5B
split-complementary
#2F328C #8C5B2F #618C2F
monochromatic
#101130 #20225E #2F328C #3E42BA #696CCD
Accessibility & contrast
On white
10.74
#2F328C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#2F328C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F328C
10.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F328C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F328C | 1.00 | 10.74 | 1.96 | 10.74 |
| #FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2f328c; /* rgb */ color: rgb(47, 50, 140); /* oklch */ color: oklch(37.5% 0.146 275.3);
Tailwind
colors: {
custom: {
50: '#736aae',
500: '#2f328c',
950: '#000000',
},
}SCSS
$custom: #2f328c; $custom-light: #736aae; $custom-dark: #000000;
JSON
{
"hex": "#2f328c",
"rgb": {
"r": 47,
"g": 50,
"b": 140
},
"hsl": {
"h": 238.065,
"s": 49.733,
"l": 36.667
},
"oklch": {
"l": 0.3745,
"c": 0.1461,
"h": 275.3
},
"luminance": 0.04779
}Semantic roles & 50–950 ramp
primary
#2F328C
secondary
#B4B163
accent
#D54FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F