#2F348E#2F348E
#2F348E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.146 H 274.6°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2F348E |
|---|---|
| RGB | rgb(47, 52, 142) |
| HSL | hsl(237, 50%, 37%) |
| HSV | hsv(237, 67%, 56%) |
| CMYK | cmyk(66.9%, 63.4%, 0%, 44.3%) |
| CIE-LAB | lab(26.77, 28.00, -50.61) |
| CIE-LCH | lch(26.77, 57.83, 298.95°) |
| OKLab | oklab(38% 0.0117 -0.1458) |
| OKLCH | oklch(38% 0.146 274.6) |
| XYZ | xyz(7.2812, 5.0127, 26.1698) |
| Luminance | 0.0501 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.44
Blueberry
#464196
ΔE00 4.68
Darkslateblue
#483D8B
ΔE00 4.76
Royal
#0C1793
ΔE00 7.63
Ocean Blue
#4F42B5
ΔE00 7.85
Midnight Blue
#191970
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F348E #8E892F
analogous
#2F648E #2F348E #5A2F8E
triadic
#2F348E #8E2F34 #348E2F
tetradic
#2F348E #8E2F64 #8E892F #2F8E5A
square
#2F348E #8E2F64 #8E892F #2F8E5A
split-complementary
#2F348E #8E5A2F #648E2F
monochromatic
#111232 #202360 #2F348E #3E45BC #6A6FCE
Accessibility & contrast
On white
10.49
#2F348E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2F348E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F348E
10.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F348E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F348E | 1.00 | 10.49 | 2.00 | 10.49 |
| #FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2f348e; /* rgb */ color: rgb(47, 52, 142); /* oklch */ color: oklch(38.0% 0.146 274.6);
Tailwind
colors: {
custom: {
50: '#746bb0',
500: '#2f348e',
950: '#000000',
},
}SCSS
$custom: #2f348e; $custom-light: #746bb0; $custom-dark: #000000;
JSON
{
"hex": "#2f348e",
"rgb": {
"r": 47,
"g": 52,
"b": 142
},
"hsl": {
"h": 236.842,
"s": 50.265,
"l": 37.059
},
"oklch": {
"l": 0.38001,
"c": 0.14632,
"h": 274.6
},
"luminance": 0.05013
}Semantic roles & 50–950 ramp
primary
#2F348E
secondary
#B5B064
accent
#D24EDA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80