#2F3F9D#2F3F9D
#2F3F9D is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.4% C 0.153 H 270.8°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3F9D |
|---|---|
| RGB | rgb(47, 63, 157) |
| HSL | hsl(231, 54%, 40%) |
| HSV | hsv(231, 70%, 62%) |
| CMYK | cmyk(70.1%, 59.9%, 0%, 38.4%) |
| CIE-LAB | lab(30.86, 26.19, -53.12) |
| CIE-LCH | lch(30.86, 59.23, 296.24°) |
| OKLab | oklab(41.42% 0.0021 -0.1531) |
| OKLCH | oklch(41.42% 0.153 270.8) |
| XYZ | xyz(9.0335, 6.5928, 32.6882) |
| Luminance | 0.0659 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.10
Blueberry
#464196
ΔE00 3.90
Cobalt
#0047AB
ΔE00 4.92
Darkslateblue
#483D8B
ΔE00 5.61
Cobalt (survey)
#1E488F
ΔE00 5.68
Blue Blue
#2242C7
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3F9D #9D8D2F
analogous
#2F769D #2F3F9D #562F9D
triadic
#2F3F9D #9D2F3F #3F9D2F
tetradic
#2F3F9D #9D2F76 #9D8D2F #2F9D56
square
#2F3F9D #9D2F76 #9D8D2F #2F9D56
split-complementary
#2F3F9D #9D562F #769D2F
monochromatic
#13193F #212C6E #2F3F9D #4356C7 #7280D5
Accessibility & contrast
On white
9.06
#2F3F9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#2F3F9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3F9D
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3F9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3F9D | 1.00 | 9.06 | 2.32 | 9.06 |
| #FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA0
Deuteranopia (green-blind)
#00449B
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f3f9d; /* rgb */ color: rgb(47, 63, 157); /* oklch */ color: oklch(41.4% 0.153 270.8);
Tailwind
colors: {
custom: {
50: '#7673bb',
500: '#2f3f9d',
950: '#000000',
},
}SCSS
$custom: #2f3f9d; $custom-light: #7673bb; $custom-dark: #000000;
JSON
{
"hex": "#2f3f9d",
"rgb": {
"r": 47,
"g": 63,
"b": 157
},
"hsl": {
"h": 231.273,
"s": 53.922,
"l": 40
},
"oklch": {
"l": 0.41416,
"c": 0.15314,
"h": 270.8
},
"luminance": 0.06594
}Semantic roles & 50–950 ramp
primary
#2F3F9D
secondary
#BCB16B
accent
#C84BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81