#2F3EA1#2F3EA1
#2F3EA1 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.6% C 0.160 H 271.0°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3EA1 |
|---|---|
| RGB | rgb(47, 62, 161) |
| HSL | hsl(232, 55%, 41%) |
| HSV | hsv(232, 71%, 63%) |
| CMYK | cmyk(70.8%, 61.5%, 0%, 36.9%) |
| CIE-LAB | lab(30.93, 28.33, -55.43) |
| CIE-LCH | lch(30.93, 62.25, 297.07°) |
| OKLab | oklab(41.57% 0.0029 -0.1599) |
| OKLCH | oklch(41.57% 0.16 271) |
| XYZ | xyz(9.3258, 6.6219, 34.4980) |
| Luminance | 0.0662 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.45
Blueberry
#464196
ΔE00 4.03
Cobalt
#0047AB
ΔE00 5.11
Blue Blue
#2242C7
ΔE00 5.18
Ocean Blue
#4F42B5
ΔE00 5.58
Darkslateblue
#483D8B
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3EA1 #A1922F
analogous
#2F77A1 #2F3EA1 #592FA1
triadic
#2F3EA1 #A12F3E #3EA12F
tetradic
#2F3EA1 #A12F77 #A1922F #2FA159
square
#2F3EA1 #A12F77 #A1922F #2FA159
split-complementary
#2F3EA1 #A1592F #77A12F
monochromatic
#131A42 #212C72 #2F3EA1 #4556C9 #7481D6
Accessibility & contrast
On white
9.03
#2F3EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#2F3EA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3EA1
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3EA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3EA1 | 1.00 | 9.03 | 2.32 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#00449F
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f3ea1; /* rgb */ color: rgb(47, 62, 161); /* oklch */ color: oklch(41.6% 0.160 271.0);
Tailwind
colors: {
custom: {
50: '#7773be',
500: '#2f3ea1',
950: '#000000',
},
}SCSS
$custom: #2f3ea1; $custom-light: #7773be; $custom-dark: #000000;
JSON
{
"hex": "#2f3ea1",
"rgb": {
"r": 47,
"g": 62,
"b": 161
},
"hsl": {
"h": 232.105,
"s": 54.808,
"l": 40.784
},
"oklch": {
"l": 0.41569,
"c": 0.15995,
"h": 271
},
"luminance": 0.06623
}Semantic roles & 50–950 ramp
primary
#2F3EA1
secondary
#BEB46E
accent
#CB4ADE
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81