#2F3DB5#2F3DB5
#2F3DB5 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.2% C 0.188 H 270.8°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3DB5 |
|---|---|
| RGB | rgb(47, 61, 181) |
| HSL | hsl(234, 59%, 45%) |
| HSV | hsv(234, 74%, 71%) |
| CMYK | cmyk(74%, 66.3%, 0%, 29%) |
| CIE-LAB | lab(32.43, 36.23, -64.95) |
| CIE-LCH | lch(32.43, 74.37, 299.15°) |
| OKLab | oklab(43.21% 0.0027 -0.1878) |
| OKLCH | oklch(43.21% 0.188 270.8) |
| XYZ | xyz(11.1787, 7.2768, 44.5225) |
| Luminance | 0.0728 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.27
Blue Blue
#2242C7
ΔE00 2.80
Ocean Blue
#4F42B5
ΔE00 4.21
Blue With A Hint Of Purple
#533CC6
ΔE00 5.43
Blue (survey)
#0343DF
ΔE00 5.50
Blueberry
#464196
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3DB5 #B5A72F
analogous
#2F80B5 #2F3DB5 #642FB5
triadic
#2F3DB5 #B52F3D #3DB52F
tetradic
#2F3DB5 #B52F80 #B5A72F #2FB564
square
#2F3DB5 #B52F80 #B5A72F #2FB564
split-complementary
#2F3DB5 #B5642F #80B52F
monochromatic
#161C54 #222D84 #2F3DB5 #505DD1 #808ADE
Accessibility & contrast
On white
8.55
#2F3DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#2F3DB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3DB5
8.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3DB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3DB5 | 1.00 | 8.55 | 2.46 | 8.55 |
| #FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#0046B3
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2f3db5; /* rgb */ color: rgb(47, 61, 181); /* oklch */ color: oklch(43.2% 0.188 270.8);
Tailwind
colors: {
custom: {
50: '#7c72cc',
500: '#2f3db5',
950: '#000000',
},
}SCSS
$custom: #2f3db5; $custom-light: #7c72cc; $custom-dark: #000000;
JSON
{
"hex": "#2f3db5",
"rgb": {
"r": 47,
"g": 61,
"b": 181
},
"hsl": {
"h": 233.731,
"s": 58.772,
"l": 44.706
},
"oklch": {
"l": 0.43209,
"c": 0.18784,
"h": 270.8
},
"luminance": 0.07278
}Semantic roles & 50–950 ramp
primary
#2F3DB5
secondary
#C7BF79
accent
#D246E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82