#2F349C#2F349C
#2F349C is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.3% C 0.165 H 273.7°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2F349C |
|---|---|
| RGB | rgb(47, 52, 156) |
| HSL | hsl(237, 54%, 40%) |
| HSV | hsv(237, 70%, 61%) |
| CMYK | cmyk(69.9%, 66.7%, 0%, 38.8%) |
| CIE-LAB | lab(28.01, 33.02, -57.18) |
| CIE-LCH | lch(28.01, 66.03, 300.01°) |
| OKLab | oklab(39.29% 0.0107 -0.1651) |
| OKLCH | oklch(39.29% 0.165 273.7) |
| XYZ | xyz(8.3990, 5.4598, 32.0573) |
| Luminance | 0.0546 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.69
Blueberry
#464196
ΔE00 4.85
Darkslateblue
#483D8B
ΔE00 5.60
Ocean Blue
#4F42B5
ΔE00 6.43
Blue Blue
#2242C7
ΔE00 6.91
Indigo Blue
#3A18B1
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F349C #9C972F
analogous
#2F6A9C #2F349C #612F9C
triadic
#2F349C #9C2F34 #349C2F
tetradic
#2F349C #9C2F6A #9C972F #2F9C61
square
#2F349C #9C2F6A #9C972F #2F9C61
split-complementary
#2F349C #9C612F #6A9C2F
monochromatic
#13153E #21246D #2F349C #4248C6 #7176D4
Accessibility & contrast
On white
10.04
#2F349C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#2F349C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F349C
10.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F349C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F349C | 1.00 | 10.04 | 2.09 | 10.04 |
| #FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#003D9A
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2f349c; /* rgb */ color: rgb(47, 52, 156); /* oklch */ color: oklch(39.3% 0.165 273.7);
Tailwind
colors: {
custom: {
50: '#776cba',
500: '#2f349c',
950: '#000000',
},
}SCSS
$custom: #2f349c; $custom-light: #776cba; $custom-dark: #000000;
JSON
{
"hex": "#2f349c",
"rgb": {
"r": 47,
"g": 52,
"b": 156
},
"hsl": {
"h": 237.248,
"s": 53.695,
"l": 39.804
},
"oklch": {
"l": 0.39287,
"c": 0.16547,
"h": 273.7
},
"luminance": 0.05461
}Semantic roles & 50–950 ramp
primary
#2F349C
secondary
#BCB86B
accent
#D64BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81