#2F368D#2F368D
#2F368D is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.3% C 0.142 H 274.0°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2F368D |
|---|---|
| RGB | rgb(47, 54, 141) |
| HSL | hsl(236, 50%, 37%) |
| HSV | hsv(236, 67%, 55%) |
| CMYK | cmyk(66.7%, 61.7%, 0%, 44.7%) |
| CIE-LAB | lab(27.20, 26.31, -49.29) |
| CIE-LCH | lch(27.20, 55.87, 298.09°) |
| OKLab | oklab(38.29% 0.01 -0.142) |
| OKLCH | oklch(38.29% 0.142 274) |
| XYZ | xyz(7.2976, 5.1651, 25.8065) |
| Luminance | 0.0517 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.40
Sapphire (survey)
#2138AB
ΔE00 4.52
Darkslateblue
#483D8B
ΔE00 4.58
Cobalt (survey)
#1E488F
ΔE00 7.68
Ocean Blue
#4F42B5
ΔE00 7.86
Cobalt
#0047AB
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F368D #8D862F
analogous
#2F658D #2F368D #572F8D
triadic
#2F368D #8D2F36 #368D2F
tetradic
#2F368D #8D2F65 #8D862F #2F8D57
square
#2F368D #8D2F65 #8D862F #2F8D57
split-complementary
#2F368D #8D572F #658D2F
monochromatic
#101331 #20245F #2F368D #3E48BB #6971CD
Accessibility & contrast
On white
10.33
#2F368D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#2F368D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F368D
10.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F368D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F368D | 1.00 | 10.33 | 2.03 | 10.33 |
| #FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2f368d; /* rgb */ color: rgb(47, 54, 141); /* oklch */ color: oklch(38.3% 0.142 274.0);
Tailwind
colors: {
custom: {
50: '#736daf',
500: '#2f368d',
950: '#000000',
},
}SCSS
$custom: #2f368d; $custom-light: #736daf; $custom-dark: #000000;
JSON
{
"hex": "#2f368d",
"rgb": {
"r": 47,
"g": 54,
"b": 141
},
"hsl": {
"h": 235.532,
"s": 50,
"l": 36.863
},
"oklch": {
"l": 0.38291,
"c": 0.14231,
"h": 274
},
"luminance": 0.05166
}Semantic roles & 50–950 ramp
primary
#2F368D
secondary
#B4AE64
accent
#CF4EDA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F