#2F329C#2F329C
#2F329C is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.9% C 0.168 H 274.2°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2F329C |
|---|---|
| RGB | rgb(47, 50, 156) |
| HSL | hsl(238, 54%, 40%) |
| HSV | hsv(238, 70%, 61%) |
| CMYK | cmyk(69.9%, 67.9%, 0%, 38.8%) |
| CIE-LAB | lab(27.53, 34.29, -57.96) |
| CIE-LCH | lch(27.53, 67.34, 300.61°) |
| OKLab | oklab(38.94% 0.0122 -0.1674) |
| OKLCH | oklch(38.94% 0.168 274.2) |
| XYZ | xyz(8.3116, 5.2851, 32.0281) |
| Luminance | 0.0529 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.01
Blueberry
#464196
ΔE00 5.24
Darkslateblue
#483D8B
ΔE00 5.83
Indigo Blue
#3A18B1
ΔE00 6.58
Ocean Blue
#4F42B5
ΔE00 6.66
Royal
#0C1793
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F329C #9C992F
analogous
#2F689C #2F329C #632F9C
triadic
#2F329C #9C2F32 #329C2F
tetradic
#2F329C #9C2F68 #9C992F #2F9C63
square
#2F329C #9C2F68 #9C992F #2F9C63
split-complementary
#2F329C #9C632F #689C2F
monochromatic
#13143E #21236D #2F329C #4246C6 #7174D4
Accessibility & contrast
On white
10.21
#2F329C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#2F329C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F329C
10.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F329C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F329C | 1.00 | 10.21 | 2.06 | 10.21 |
| #FFFFFF | 10.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#003C9A
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2f329c; /* rgb */ color: rgb(47, 50, 156); /* oklch */ color: oklch(38.9% 0.168 274.2);
Tailwind
colors: {
custom: {
50: '#776aba',
500: '#2f329c',
950: '#000000',
},
}SCSS
$custom: #2f329c; $custom-light: #776aba; $custom-dark: #000000;
JSON
{
"hex": "#2f329c",
"rgb": {
"r": 47,
"g": 50,
"b": 156
},
"hsl": {
"h": 238.349,
"s": 53.695,
"l": 39.804
},
"oklch": {
"l": 0.38942,
"c": 0.16784,
"h": 274.2
},
"luminance": 0.05286
}Semantic roles & 50–950 ramp
primary
#2F329C
secondary
#BCBA6B
accent
#D94BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81