#2F357F#2F357F
#2F357F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.9% C 0.123 H 275.1°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2F357F |
|---|---|
| RGB | rgb(47, 53, 127) |
| HSL | hsl(236, 46%, 34%) |
| HSV | hsv(236, 63%, 50%) |
| CMYK | cmyk(63%, 58.3%, 0%, 50.2%) |
| CIE-LAB | lab(25.81, 21.87, -42.82) |
| CIE-LCH | lch(25.81, 48.08, 297.05°) |
| OKLab | oklab(36.91% 0.0109 -0.1229) |
| OKLCH | oklch(36.91% 0.123 275.1) |
| XYZ | xyz(6.2749, 4.6824, 20.6477) |
| Luminance | 0.0468 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.78
Blueberry
#464196
ΔE00 5.43
Sapphire (survey)
#2138AB
ΔE00 6.79
Marine
#042E60
ΔE00 7.54
Midnight Blue
#191970
ΔE00 7.97
Cobalt (survey)
#1E488F
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F357F #7F792F
analogous
#2F5D7F #2F357F #512F7F
triadic
#2F357F #7F2F35 #357F2F
tetradic
#2F357F #7F2F5D #7F792F #2F7F51
square
#2F357F #7F2F5D #7F792F #2F7F51
split-complementary
#2F357F #7F512F #5D7F2F
monochromatic
#0E1026 #1E2252 #2F357F #4048AC #636AC5
Accessibility & contrast
On white
10.84
#2F357F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#2F357F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F357F
10.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F357F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F357F | 1.00 | 10.84 | 1.94 | 10.84 |
| #FFFFFF | 10.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004182
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2f357f; /* rgb */ color: rgb(47, 53, 127); /* oklch */ color: oklch(36.9% 0.123 275.1);
Tailwind
colors: {
custom: {
50: '#706ca5',
500: '#2f357f',
950: '#000000',
},
}SCSS
$custom: #2f357f; $custom-light: #706ca5; $custom-dark: #000000;
JSON
{
"hex": "#2f357f",
"rgb": {
"r": 47,
"g": 53,
"b": 127
},
"hsl": {
"h": 235.5,
"s": 45.977,
"l": 34.118
},
"oklch": {
"l": 0.36905,
"c": 0.12343,
"h": 275.1
},
"luminance": 0.04683
}Semantic roles & 50–950 ramp
primary
#2F357F
secondary
#ACA65E
accent
#CC52D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F