#2F358C#2F358C
#2F358C is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.142 H 274.4°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2F358C |
|---|---|
| RGB | rgb(47, 53, 140) |
| HSL | hsl(236, 50%, 37%) |
| HSV | hsv(236, 66%, 55%) |
| CMYK | cmyk(66.4%, 62.1%, 0%, 45.1%) |
| CIE-LAB | lab(26.86, 26.61, -49.23) |
| CIE-LCH | lch(26.86, 55.96, 298.39°) |
| OKLab | oklab(38.01% 0.0109 -0.1418) |
| OKLCH | oklch(38.01% 0.142 274.4) |
| XYZ | xyz(7.1775, 5.0434, 25.4011) |
| Luminance | 0.0504 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.57
Darkslateblue
#483D8B
ΔE00 4.61
Sapphire (survey)
#2138AB
ΔE00 4.70
Cobalt (survey)
#1E488F
ΔE00 7.97
Ocean Blue
#4F42B5
ΔE00 8.02
Royal
#0C1793
ΔE00 8.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F358C #8C862F
analogous
#2F648C #2F358C #582F8C
triadic
#2F358C #8C2F35 #358C2F
tetradic
#2F358C #8C2F64 #8C862F #2F8C58
square
#2F358C #8C2F64 #8C862F #2F8C58
split-complementary
#2F358C #8C582F #648C2F
monochromatic
#101230 #20245E #2F358C #3E46BA #696FCD
Accessibility & contrast
On white
10.45
#2F358C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#2F358C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F358C
10.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F358C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F358C | 1.00 | 10.45 | 2.01 | 10.45 |
| #FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#003B8A
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2f358c; /* rgb */ color: rgb(47, 53, 140); /* oklch */ color: oklch(38.0% 0.142 274.4);
Tailwind
colors: {
custom: {
50: '#736cae',
500: '#2f358c',
950: '#000000',
},
}SCSS
$custom: #2f358c; $custom-light: #736cae; $custom-dark: #000000;
JSON
{
"hex": "#2f358c",
"rgb": {
"r": 47,
"g": 53,
"b": 140
},
"hsl": {
"h": 236.129,
"s": 49.733,
"l": 36.667
},
"oklch": {
"l": 0.38012,
"c": 0.14221,
"h": 274.4
},
"luminance": 0.05044
}Semantic roles & 50–950 ramp
primary
#2F358C
secondary
#B4AE63
accent
#D04FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F