#2F3EA3#2F3EA3
#2F3EA3 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.7% C 0.163 H 271.0°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3EA3 |
|---|---|
| RGB | rgb(47, 62, 163) |
| HSL | hsl(232, 55%, 41%) |
| HSV | hsv(232, 71%, 64%) |
| CMYK | cmyk(71.2%, 62%, 0%, 36.1%) |
| CIE-LAB | lab(31.10, 29.06, -56.37) |
| CIE-LCH | lch(31.10, 63.42, 297.28°) |
| OKLab | oklab(41.75% 0.0029 -0.1627) |
| OKLCH | oklch(41.75% 0.163 271) |
| XYZ | xyz(9.5035, 6.6930, 35.4343) |
| Luminance | 0.0669 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.27
Blueberry
#464196
ΔE00 4.14
Blue Blue
#2242C7
ΔE00 4.90
Cobalt
#0047AB
ΔE00 5.10
Ocean Blue
#4F42B5
ΔE00 5.39
Darkslateblue
#483D8B
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3EA3 #A3942F
analogous
#2F78A3 #2F3EA3 #5A2FA3
triadic
#2F3EA3 #A32F3E #3EA32F
tetradic
#2F3EA3 #A32F78 #A3942F #2FA35A
square
#2F3EA3 #A32F78 #A3942F #2FA35A
split-complementary
#2F3EA3 #A35A2F #78A32F
monochromatic
#141A44 #212C73 #2F3EA3 #4657CA #7582D7
Accessibility & contrast
On white
8.98
#2F3EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#2F3EA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3EA3
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3EA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3EA3 | 1.00 | 8.98 | 2.34 | 8.98 |
| #FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#0044A1
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f3ea3; /* rgb */ color: rgb(47, 62, 163); /* oklch */ color: oklch(41.7% 0.163 271.0);
Tailwind
colors: {
custom: {
50: '#7773bf',
500: '#2f3ea3',
950: '#000000',
},
}SCSS
$custom: #2f3ea3; $custom-light: #7773bf; $custom-dark: #000000;
JSON
{
"hex": "#2f3ea3",
"rgb": {
"r": 47,
"g": 62,
"b": 163
},
"hsl": {
"h": 232.241,
"s": 55.238,
"l": 41.176
},
"oklch": {
"l": 0.41745,
"c": 0.16269,
"h": 271
},
"luminance": 0.06694
}Semantic roles & 50–950 ramp
primary
#2F3EA3
secondary
#BFB56F
accent
#CB49DF
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81