#2F368C#2F368C
#2F368C is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.141 H 274.1°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2F368C |
|---|---|
| RGB | rgb(47, 54, 140) |
| HSL | hsl(235, 50%, 37%) |
| HSV | hsv(235, 66%, 55%) |
| CMYK | cmyk(66.4%, 61.4%, 0%, 45.1%) |
| CIE-LAB | lab(27.12, 25.94, -48.80) |
| CIE-LCH | lch(27.12, 55.27, 297.99°) |
| OKLab | oklab(38.2% 0.01 -0.1405) |
| OKLCH | oklch(38.2% 0.141 274.1) |
| XYZ | xyz(7.2235, 5.1355, 25.4164) |
| Luminance | 0.0514 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.43
Darkslateblue
#483D8B
ΔE00 4.56
Sapphire (survey)
#2138AB
ΔE00 4.68
Cobalt (survey)
#1E488F
ΔE00 7.66
Cobalt
#0047AB
ΔE00 7.95
Ocean Blue
#4F42B5
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F368C #8C852F
analogous
#2F658C #2F368C #572F8C
triadic
#2F368C #8C2F36 #368C2F
tetradic
#2F368C #8C2F65 #8C852F #2F8C57
square
#2F368C #8C2F65 #8C852F #2F8C57
split-complementary
#2F368C #8C572F #658C2F
monochromatic
#101330 #20245E #2F368C #3E48BA #6970CD
Accessibility & contrast
On white
10.36
#2F368C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#2F368C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F368C
10.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F368C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F368C | 1.00 | 10.36 | 2.03 | 10.36 |
| #FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#003C8A
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2f368c; /* rgb */ color: rgb(47, 54, 140); /* oklch */ color: oklch(38.2% 0.141 274.1);
Tailwind
colors: {
custom: {
50: '#736dae',
500: '#2f368c',
950: '#000000',
},
}SCSS
$custom: #2f368c; $custom-light: #736dae; $custom-dark: #000000;
JSON
{
"hex": "#2f368c",
"rgb": {
"r": 47,
"g": 54,
"b": 140
},
"hsl": {
"h": 235.484,
"s": 49.733,
"l": 36.667
},
"oklch": {
"l": 0.38204,
"c": 0.1409,
"h": 274.1
},
"luminance": 0.05136
}Semantic roles & 50–950 ramp
primary
#2F368C
secondary
#B4AE63
accent
#CF4FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F