#2F348D#2F348D
#2F348D is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.9% C 0.145 H 274.7°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2F348D |
|---|---|
| RGB | rgb(47, 52, 141) |
| HSL | hsl(237, 50%, 37%) |
| HSV | hsv(237, 67%, 55%) |
| CMYK | cmyk(66.7%, 63.1%, 0%, 44.7%) |
| CIE-LAB | lab(26.69, 27.63, -50.13) |
| CIE-LCH | lch(26.69, 57.24, 298.87°) |
| OKLab | oklab(37.91% 0.0118 -0.1444) |
| OKLCH | oklch(37.91% 0.145 274.7) |
| XYZ | xyz(7.2064, 4.9828, 25.7761) |
| Luminance | 0.0498 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.59
Blueberry
#464196
ΔE00 4.70
Darkslateblue
#483D8B
ΔE00 4.72
Royal
#0C1793
ΔE00 7.68
Ocean Blue
#4F42B5
ΔE00 7.96
Midnight Blue
#191970
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F348D #8D882F
analogous
#2F638D #2F348D #592F8D
triadic
#2F348D #8D2F34 #348D2F
tetradic
#2F348D #8D2F63 #8D882F #2F8D59
square
#2F348D #8D2F63 #8D882F #2F8D59
split-complementary
#2F348D #8D592F #638D2F
monochromatic
#101231 #20235F #2F348D #3E45BB #696FCD
Accessibility & contrast
On white
10.52
#2F348D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2F348D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F348D
10.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F348D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F348D | 1.00 | 10.52 | 2.00 | 10.52 |
| #FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2f348d; /* rgb */ color: rgb(47, 52, 141); /* oklch */ color: oklch(37.9% 0.145 274.7);
Tailwind
colors: {
custom: {
50: '#736baf',
500: '#2f348d',
950: '#000000',
},
}SCSS
$custom: #2f348d; $custom-light: #736baf; $custom-dark: #000000;
JSON
{
"hex": "#2f348d",
"rgb": {
"r": 47,
"g": 52,
"b": 141
},
"hsl": {
"h": 236.809,
"s": 50,
"l": 36.863
},
"oklch": {
"l": 0.37911,
"c": 0.14492,
"h": 274.7
},
"luminance": 0.04983
}Semantic roles & 50–950 ramp
primary
#2F348D
secondary
#B4B064
accent
#D24EDA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F