#2F368F#2F368F
#2F368F is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.145 H 273.9°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2F368F |
|---|---|
| RGB | rgb(47, 54, 143) |
| HSL | hsl(236, 51%, 37%) |
| HSV | hsv(236, 67%, 56%) |
| CMYK | cmyk(67.1%, 62.2%, 0%, 43.9%) |
| CIE-LAB | lab(27.37, 27.03, -50.25) |
| CIE-LCH | lch(27.37, 57.06, 298.28°) |
| OKLab | oklab(38.47% 0.0099 -0.1448) |
| OKLCH | oklch(38.47% 0.145 273.9) |
| XYZ | xyz(7.4477, 5.2252, 26.5973) |
| Luminance | 0.0523 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.22
Blueberry
#464196
ΔE00 4.34
Darkslateblue
#483D8B
ΔE00 4.64
Ocean Blue
#4F42B5
ΔE00 7.62
Cobalt (survey)
#1E488F
ΔE00 7.72
Cobalt
#0047AB
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F368F #8F882F
analogous
#2F668F #2F368F #582F8F
triadic
#2F368F #8F2F36 #368F2F
tetradic
#2F368F #8F2F66 #8F882F #2F8F58
square
#2F368F #8F2F66 #8F882F #2F8F58
split-complementary
#2F368F #8F582F #668F2F
monochromatic
#111333 #202561 #2F368F #3E47BD #6A72CE
Accessibility & contrast
On white
10.27
#2F368F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#2F368F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F368F
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F368F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F368F | 1.00 | 10.27 | 2.05 | 10.27 |
| #FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#004C5D
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2f368f; /* rgb */ color: rgb(47, 54, 143); /* oklch */ color: oklch(38.5% 0.145 273.9);
Tailwind
colors: {
custom: {
50: '#746db1',
500: '#2f368f',
950: '#000000',
},
}SCSS
$custom: #2f368f; $custom-light: #746db1; $custom-dark: #000000;
JSON
{
"hex": "#2f368f",
"rgb": {
"r": 47,
"g": 54,
"b": 143
},
"hsl": {
"h": 235.625,
"s": 50.526,
"l": 37.255
},
"oklch": {
"l": 0.38466,
"c": 0.14513,
"h": 273.9
},
"luminance": 0.05226
}Semantic roles & 50–950 ramp
primary
#2F368F
secondary
#B5AF65
accent
#D04EDA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80