#2F3C92#2F3C92
#2F3C92 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.142 H 271.9°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3C92 |
|---|---|
| RGB | rgb(47, 60, 146) |
| HSL | hsl(232, 51%, 38%) |
| HSV | hsv(232, 68%, 57%) |
| CMYK | cmyk(67.8%, 58.9%, 0%, 42.7%) |
| CIE-LAB | lab(29.19, 24.12, -49.14) |
| CIE-LCH | lch(29.19, 54.74, 296.15°) |
| OKLab | oklab(39.89% 0.0046 -0.1414) |
| OKLCH | oklch(39.89% 0.142 271.9) |
| XYZ | xyz(7.9747, 5.9107, 27.9092) |
| Luminance | 0.0591 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.82
Sapphire (survey)
#2138AB
ΔE00 4.08
Darkslateblue
#483D8B
ΔE00 4.83
Cobalt (survey)
#1E488F
ΔE00 5.93
Cobalt
#0047AB
ΔE00 6.12
Darkish Blue
#014182
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3C92 #92852F
analogous
#2F6D92 #2F3C92 #532F92
triadic
#2F3C92 #922F3C #3C922F
tetradic
#2F3C92 #922F6D #92852F #2F9253
square
#2F3C92 #922F6D #92852F #2F9253
split-complementary
#2F3C92 #92532F #6D922F
monochromatic
#111635 #202964 #2F3C92 #3E4FC0 #6C79D0
Accessibility & contrast
On white
9.62
#2F3C92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#2F3C92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3C92
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3C92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3C92 | 1.00 | 9.62 | 2.18 | 9.62 |
| #FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004995
Deuteranopia (green-blind)
#004090
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2f3c92; /* rgb */ color: rgb(47, 60, 146); /* oklch */ color: oklch(39.9% 0.142 271.9);
Tailwind
colors: {
custom: {
50: '#7471b3',
500: '#2f3c92',
950: '#000000',
},
}SCSS
$custom: #2f3c92; $custom-light: #7471b3; $custom-dark: #000000;
JSON
{
"hex": "#2f3c92",
"rgb": {
"r": 47,
"g": 60,
"b": 146
},
"hsl": {
"h": 232.121,
"s": 51.295,
"l": 37.843
},
"oklch": {
"l": 0.39892,
"c": 0.14152,
"h": 271.9
},
"luminance": 0.05911
}Semantic roles & 50–950 ramp
primary
#2F3C92
secondary
#B7AC66
accent
#C84DDB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80