#2F3C93#2F3C93
#2F3C93 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.0% C 0.143 H 271.8°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3C93 |
|---|---|
| RGB | rgb(47, 60, 147) |
| HSL | hsl(232, 52%, 38%) |
| HSV | hsv(232, 68%, 58%) |
| CMYK | cmyk(68%, 59.2%, 0%, 42.4%) |
| CIE-LAB | lab(29.27, 24.49, -49.62) |
| CIE-LCH | lch(29.27, 55.34, 296.27°) |
| OKLab | oklab(39.98% 0.0046 -0.1429) |
| OKLCH | oklch(39.98% 0.143 271.8) |
| XYZ | xyz(8.0528, 5.9419, 28.3206) |
| Luminance | 0.0594 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.79
Sapphire (survey)
#2138AB
ΔE00 3.93
Darkslateblue
#483D8B
ΔE00 4.86
Cobalt (survey)
#1E488F
ΔE00 5.97
Cobalt
#0047AB
ΔE00 6.07
Ocean Blue
#4F42B5
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3C93 #93862F
analogous
#2F6E93 #2F3C93 #542F93
triadic
#2F3C93 #932F3C #3C932F
tetradic
#2F3C93 #932F6E #93862F #2F9354
square
#2F3C93 #932F6E #93862F #2F9354
split-complementary
#2F3C93 #93542F #6E932F
monochromatic
#111636 #202965 #2F3C93 #3E4FC1 #6C79D0
Accessibility & contrast
On white
9.60
#2F3C93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#2F3C93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3C93
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3C93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3C93 | 1.00 | 9.60 | 2.19 | 9.60 |
| #FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A96
Deuteranopia (green-blind)
#004191
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2f3c93; /* rgb */ color: rgb(47, 60, 147); /* oklch */ color: oklch(40.0% 0.143 271.8);
Tailwind
colors: {
custom: {
50: '#7471b3',
500: '#2f3c93',
950: '#000000',
},
}SCSS
$custom: #2f3c93; $custom-light: #7471b3; $custom-dark: #000000;
JSON
{
"hex": "#2f3c93",
"rgb": {
"r": 47,
"g": 60,
"b": 147
},
"hsl": {
"h": 232.2,
"s": 51.546,
"l": 38.039
},
"oklch": {
"l": 0.39976,
"c": 0.14295,
"h": 271.8
},
"luminance": 0.05943
}Semantic roles & 50–950 ramp
primary
#2F3C93
secondary
#B7AD66
accent
#C94DDB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80