#2F347C#2F347C
#2F347C is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.5% C 0.120 H 275.7°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2F347C |
|---|---|
| RGB | rgb(47, 52, 124) |
| HSL | hsl(236, 45%, 34%) |
| HSV | hsv(236, 62%, 49%) |
| CMYK | cmyk(62.1%, 58.1%, 0%, 51.4%) |
| CIE-LAB | lab(25.31, 21.45, -41.74) |
| CIE-LCH | lch(25.31, 46.93, 297.20°) |
| OKLab | oklab(36.46% 0.0119 -0.1198) |
| OKLCH | oklch(36.46% 0.12 275.7) |
| XYZ | xyz(6.0372, 4.5151, 19.6182) |
| Luminance | 0.0452 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.97
Blueberry
#464196
ΔE00 5.82
Sapphire (survey)
#2138AB
ΔE00 7.31
Marine
#042E60
ΔE00 7.37
Midnight Blue
#191970
ΔE00 7.70
Marine Blue
#01386A
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F347C #7C772F
analogous
#2F5A7C #2F347C #502F7C
triadic
#2F347C #7C2F34 #347C2F
tetradic
#2F347C #7C2F5A #7C772F #2F7C50
square
#2F347C #7C2F5A #7C772F #2F7C50
split-complementary
#2F347C #7C502F #5A7C2F
monochromatic
#0D0F23 #1E2150 #2F347C #4047A8 #6268C3
Accessibility & contrast
On white
11.03
#2F347C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#2F347C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F347C
11.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F347C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F347C | 1.00 | 11.03 | 1.90 | 11.03 |
| #FFFFFF | 11.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F7E
Deuteranopia (green-blind)
#00397B
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2f347c; /* rgb */ color: rgb(47, 52, 124); /* oklch */ color: oklch(36.5% 0.120 275.7);
Tailwind
colors: {
custom: {
50: '#706ba2',
500: '#2f347c',
950: '#000000',
},
}SCSS
$custom: #2f347c; $custom-light: #706ba2; $custom-dark: #000000;
JSON
{
"hex": "#2f347c",
"rgb": {
"r": 47,
"g": 52,
"b": 124
},
"hsl": {
"h": 236.104,
"s": 45.029,
"l": 33.529
},
"oklch": {
"l": 0.36456,
"c": 0.12039,
"h": 275.7
},
"luminance": 0.04516
}Semantic roles & 50–950 ramp
primary
#2F347C
secondary
#AAA55C
accent
#CC53D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F