#2F3C90#2F3C90
#2F3C90 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.7% C 0.139 H 271.9°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3C90 |
|---|---|
| RGB | rgb(47, 60, 144) |
| HSL | hsl(232, 51%, 37%) |
| HSV | hsv(232, 67%, 56%) |
| CMYK | cmyk(67.4%, 58.3%, 0%, 43.5%) |
| CIE-LAB | lab(29.03, 23.38, -48.17) |
| CIE-LCH | lch(29.03, 53.54, 295.90°) |
| OKLab | oklab(39.73% 0.0046 -0.1386) |
| OKLCH | oklch(39.73% 0.139 271.9) |
| XYZ | xyz(7.8205, 5.8490, 27.0970) |
| Luminance | 0.0585 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.89
Sapphire (survey)
#2138AB
ΔE00 4.38
Darkslateblue
#483D8B
ΔE00 4.79
Cobalt (survey)
#1E488F
ΔE00 5.85
Cobalt
#0047AB
ΔE00 6.25
Darkish Blue
#014182
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3C90 #90832F
analogous
#2F6C90 #2F3C90 #532F90
triadic
#2F3C90 #902F3C #3C902F
tetradic
#2F3C90 #902F6C #90832F #2F9053
square
#2F3C90 #902F6C #90832F #2F9053
split-complementary
#2F3C90 #90532F #6C902F
monochromatic
#111634 #202962 #2F3C90 #3E4FBE #6B78CF
Accessibility & contrast
On white
9.68
#2F3C90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#2F3C90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3C90
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3C90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3C90 | 1.00 | 9.68 | 2.17 | 9.68 |
| #FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004993
Deuteranopia (green-blind)
#00408E
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2f3c90; /* rgb */ color: rgb(47, 60, 144); /* oklch */ color: oklch(39.7% 0.139 271.9);
Tailwind
colors: {
custom: {
50: '#7371b1',
500: '#2f3c90',
950: '#000000',
},
}SCSS
$custom: #2f3c90; $custom-light: #7371b1; $custom-dark: #000000;
JSON
{
"hex": "#2f3c90",
"rgb": {
"r": 47,
"g": 60,
"b": 144
},
"hsl": {
"h": 231.959,
"s": 50.785,
"l": 37.451
},
"oklch": {
"l": 0.39725,
"c": 0.13866,
"h": 271.9
},
"luminance": 0.0585
}Semantic roles & 50–950 ramp
primary
#2F3C90
secondary
#B6AB65
accent
#C74EDA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80