#2F3D9A#2F3D9A
#2F3D9A is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.8% C 0.152 H 271.4°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3D9A |
|---|---|
| RGB | rgb(47, 61, 154) |
| HSL | hsl(232, 53%, 39%) |
| HSV | hsv(232, 69%, 60%) |
| CMYK | cmyk(69.5%, 60.4%, 0%, 39.6%) |
| CIE-LAB | lab(30.09, 26.41, -52.55) |
| CIE-LCH | lch(30.09, 58.81, 296.68°) |
| OKLab | oklab(40.77% 0.0038 -0.1515) |
| OKLCH | oklch(40.77% 0.152 271.4) |
| XYZ | xyz(8.6718, 6.2741, 31.3196) |
| Luminance | 0.0628 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.08
Blueberry
#464196
ΔE00 3.78
Darkslateblue
#483D8B
ΔE00 5.26
Cobalt
#0047AB
ΔE00 5.50
Cobalt (survey)
#1E488F
ΔE00 6.04
Blue Blue
#2242C7
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3D9A #9A8C2F
analogous
#2F729A #2F3D9A #572F9A
triadic
#2F3D9A #9A2F3D #3D9A2F
tetradic
#2F3D9A #9A2F72 #9A8C2F #2F9A57
square
#2F3D9A #9A2F72 #9A8C2F #2F9A57
split-complementary
#2F3D9A #9A572F #729A2F
monochromatic
#12183C #212A6B #2F3D9A #4152C5 #707DD3
Accessibility & contrast
On white
9.31
#2F3D9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#2F3D9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3D9A
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3D9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3D9A | 1.00 | 9.31 | 2.26 | 9.31 |
| #FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#004298
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2f3d9a; /* rgb */ color: rgb(47, 61, 154); /* oklch */ color: oklch(40.8% 0.152 271.4);
Tailwind
colors: {
custom: {
50: '#7672b9',
500: '#2f3d9a',
950: '#000000',
},
}SCSS
$custom: #2f3d9a; $custom-light: #7672b9; $custom-dark: #000000;
JSON
{
"hex": "#2f3d9a",
"rgb": {
"r": 47,
"g": 61,
"b": 154
},
"hsl": {
"h": 232.15,
"s": 53.234,
"l": 39.412
},
"oklch": {
"l": 0.40769,
"c": 0.15152,
"h": 271.4
},
"luminance": 0.06275
}Semantic roles & 50–950 ramp
primary
#2F3D9A
secondary
#BBB06A
accent
#CA4BDD
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090811
muted
#7B7B80