#2F357E#2F357E
#2F357E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.8% C 0.122 H 275.1°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2F357E |
|---|---|
| RGB | rgb(47, 53, 126) |
| HSL | hsl(235, 46%, 34%) |
| HSV | hsv(235, 63%, 49%) |
| CMYK | cmyk(62.7%, 57.9%, 0%, 50.6%) |
| CIE-LAB | lab(25.73, 21.50, -42.31) |
| CIE-LCH | lch(25.73, 47.46, 296.94°) |
| OKLab | oklab(36.82% 0.0109 -0.1215) |
| OKLCH | oklch(36.82% 0.122 275.1) |
| XYZ | xyz(6.2101, 4.6564, 20.3061) |
| Luminance | 0.0466 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.83
Blueberry
#464196
ΔE00 5.53
Sapphire (survey)
#2138AB
ΔE00 6.96
Marine
#042E60
ΔE00 7.45
Midnight Blue
#191970
ΔE00 7.99
Cobalt (survey)
#1E488F
ΔE00 8.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F357E #7E782F
analogous
#2F5D7E #2F357E #512F7E
triadic
#2F357E #7E2F35 #357E2F
tetradic
#2F357E #7E2F5D #7E782F #2F7E51
square
#2F357E #7E2F5D #7E782F #2F7E51
split-complementary
#2F357E #7E512F #5D7E2F
monochromatic
#0E1025 #1E2251 #2F357E #4048AB #636AC5
Accessibility & contrast
On white
10.87
#2F357E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#2F357E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F357E
10.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F357E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F357E | 1.00 | 10.87 | 1.93 | 10.87 |
| #FFFFFF | 10.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004080
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#004654
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2f357e; /* rgb */ color: rgb(47, 53, 126); /* oklch */ color: oklch(36.8% 0.122 275.1);
Tailwind
colors: {
custom: {
50: '#706ca4',
500: '#2f357e',
950: '#000000',
},
}SCSS
$custom: #2f357e; $custom-light: #706ca4; $custom-dark: #000000;
JSON
{
"hex": "#2f357e",
"rgb": {
"r": 47,
"g": 53,
"b": 126
},
"hsl": {
"h": 235.443,
"s": 45.665,
"l": 33.922
},
"oklch": {
"l": 0.36823,
"c": 0.12195,
"h": 275.1
},
"luminance": 0.04657
}Semantic roles & 50–950 ramp
primary
#2F357E
secondary
#ACA65D
accent
#CB52D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F