#2F3EA2#2F3EA2
#2F3EA2 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.7% C 0.161 H 271.0°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3EA2 |
|---|---|
| RGB | rgb(47, 62, 162) |
| HSL | hsl(232, 55%, 41%) |
| HSV | hsv(232, 71%, 64%) |
| CMYK | cmyk(71%, 61.7%, 0%, 36.5%) |
| CIE-LAB | lab(31.01, 28.70, -55.90) |
| CIE-LCH | lch(31.01, 62.83, 297.17°) |
| OKLab | oklab(41.66% 0.0029 -0.1613) |
| OKLCH | oklch(41.66% 0.161 271) |
| XYZ | xyz(9.4143, 6.6573, 34.9643) |
| Luminance | 0.0666 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.36
Blueberry
#464196
ΔE00 4.08
Blue Blue
#2242C7
ΔE00 5.04
Cobalt
#0047AB
ΔE00 5.10
Ocean Blue
#4F42B5
ΔE00 5.49
Darkslateblue
#483D8B
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3EA2 #A2932F
analogous
#2F77A2 #2F3EA2 #592FA2
triadic
#2F3EA2 #A22F3E #3EA22F
tetradic
#2F3EA2 #A22F77 #A2932F #2FA259
square
#2F3EA2 #A22F77 #A2932F #2FA259
split-complementary
#2F3EA2 #A2592F #77A22F
monochromatic
#131A43 #212C73 #2F3EA2 #4556C9 #7581D7
Accessibility & contrast
On white
9.01
#2F3EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#2F3EA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3EA2
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3EA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3EA2 | 1.00 | 9.01 | 2.33 | 9.01 |
| #FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#0044A0
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f3ea2; /* rgb */ color: rgb(47, 62, 162); /* oklch */ color: oklch(41.7% 0.161 271.0);
Tailwind
colors: {
custom: {
50: '#7773be',
500: '#2f3ea2',
950: '#000000',
},
}SCSS
$custom: #2f3ea2; $custom-light: #7773be; $custom-dark: #000000;
JSON
{
"hex": "#2f3ea2",
"rgb": {
"r": 47,
"g": 62,
"b": 162
},
"hsl": {
"h": 232.174,
"s": 55.024,
"l": 40.98
},
"oklch": {
"l": 0.41657,
"c": 0.16132,
"h": 271
},
"luminance": 0.06658
}Semantic roles & 50–950 ramp
primary
#2F3EA2
secondary
#BFB46E
accent
#CB49DE
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81