#2F3EA0#2F3EA0
#2F3EA0 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.5% C 0.159 H 271.1°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3EA0 |
|---|---|
| RGB | rgb(47, 62, 160) |
| HSL | hsl(232, 55%, 41%) |
| HSV | hsv(232, 71%, 63%) |
| CMYK | cmyk(70.6%, 61.2%, 0%, 37.3%) |
| CIE-LAB | lab(30.85, 27.96, -54.96) |
| CIE-LCH | lch(30.85, 61.67, 296.96°) |
| OKLab | oklab(41.48% 0.0029 -0.1585) |
| OKLCH | oklch(41.48% 0.159 271.1) |
| XYZ | xyz(9.2379, 6.5867, 34.0354) |
| Luminance | 0.0659 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.55
Blueberry
#464196
ΔE00 3.98
Cobalt
#0047AB
ΔE00 5.11
Blue Blue
#2242C7
ΔE00 5.32
Ocean Blue
#4F42B5
ΔE00 5.69
Darkslateblue
#483D8B
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3EA0 #A0912F
analogous
#2F76A0 #2F3EA0 #582FA0
triadic
#2F3EA0 #A02F3E #3EA02F
tetradic
#2F3EA0 #A02F76 #A0912F #2FA058
square
#2F3EA0 #A02F76 #A0912F #2FA058
split-complementary
#2F3EA0 #A0582F #76A02F
monochromatic
#131941 #212C71 #2F3EA0 #4456C8 #7380D6
Accessibility & contrast
On white
9.06
#2F3EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#2F3EA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3EA0
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3EA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3EA0 | 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)
#004EA3
Deuteranopia (green-blind)
#00449E
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f3ea0; /* rgb */ color: rgb(47, 62, 160); /* oklch */ color: oklch(41.5% 0.159 271.1);
Tailwind
colors: {
custom: {
50: '#7773bd',
500: '#2f3ea0',
950: '#000000',
},
}SCSS
$custom: #2f3ea0; $custom-light: #7773bd; $custom-dark: #000000;
JSON
{
"hex": "#2f3ea0",
"rgb": {
"r": 47,
"g": 62,
"b": 160
},
"hsl": {
"h": 232.035,
"s": 54.589,
"l": 40.588
},
"oklch": {
"l": 0.41482,
"c": 0.15857,
"h": 271.1
},
"luminance": 0.06588
}Semantic roles & 50–950 ramp
primary
#2F3EA0
secondary
#BEB36D
accent
#CA4ADE
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81