#2F348C#2F348C
#2F348C is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.8% C 0.144 H 274.7°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2F348C |
|---|---|
| RGB | rgb(47, 52, 140) |
| HSL | hsl(237, 50%, 37%) |
| HSV | hsv(237, 66%, 55%) |
| CMYK | cmyk(66.4%, 62.9%, 0%, 45.1%) |
| CIE-LAB | lab(26.60, 27.27, -49.65) |
| CIE-LCH | lch(26.60, 56.64, 298.78°) |
| OKLab | oklab(37.82% 0.0118 -0.143) |
| OKLCH | oklch(37.82% 0.144 274.7) |
| XYZ | xyz(7.1323, 4.9532, 25.3860) |
| Luminance | 0.0495 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.69
Blueberry
#464196
ΔE00 4.73
Sapphire (survey)
#2138AB
ΔE00 4.74
Royal
#0C1793
ΔE00 7.74
Midnight Blue
#191970
ΔE00 7.97
Ocean Blue
#4F42B5
ΔE00 8.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F348C #8C872F
analogous
#2F638C #2F348C #592F8C
triadic
#2F348C #8C2F34 #348C2F
tetradic
#2F348C #8C2F63 #8C872F #2F8C59
square
#2F348C #8C2F63 #8C872F #2F8C59
split-complementary
#2F348C #8C592F #638C2F
monochromatic
#101230 #20235E #2F348C #3E45BA #696ECD
Accessibility & contrast
On white
10.55
#2F348C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#2F348C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F348C
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F348C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F348C | 1.00 | 10.55 | 1.99 | 10.55 |
| #FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#003B8A
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2f348c; /* rgb */ color: rgb(47, 52, 140); /* oklch */ color: oklch(37.8% 0.144 274.7);
Tailwind
colors: {
custom: {
50: '#736bae',
500: '#2f348c',
950: '#000000',
},
}SCSS
$custom: #2f348c; $custom-light: #736bae; $custom-dark: #000000;
JSON
{
"hex": "#2f348c",
"rgb": {
"r": 47,
"g": 52,
"b": 140
},
"hsl": {
"h": 236.774,
"s": 49.733,
"l": 36.667
},
"oklch": {
"l": 0.37823,
"c": 0.14352,
"h": 274.7
},
"luminance": 0.04954
}Semantic roles & 50–950 ramp
primary
#2F348C
secondary
#B4AF63
accent
#D24FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F