#2F3EA5#2F3EA5
#2F3EA5 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.9% C 0.165 H 271.0°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3EA5 |
|---|---|
| RGB | rgb(47, 62, 165) |
| HSL | hsl(232, 56%, 42%) |
| HSV | hsv(232, 72%, 65%) |
| CMYK | cmyk(71.5%, 62.4%, 0%, 35.3%) |
| CIE-LAB | lab(31.27, 29.80, -57.29) |
| CIE-LCH | lch(31.27, 64.58, 297.48°) |
| OKLab | oklab(41.92% 0.0028 -0.1654) |
| OKLCH | oklch(41.92% 0.165 271) |
| XYZ | xyz(9.6841, 6.7652, 36.3855) |
| Luminance | 0.0677 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.12
Blueberry
#464196
ΔE00 4.27
Blue Blue
#2242C7
ΔE00 4.63
Cobalt
#0047AB
ΔE00 5.11
Ocean Blue
#4F42B5
ΔE00 5.21
Darkslateblue
#483D8B
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3EA5 #A5962F
analogous
#2F79A5 #2F3EA5 #5B2FA5
triadic
#2F3EA5 #A52F3E #3EA52F
tetradic
#2F3EA5 #A52F79 #A5962F #2FA55B
square
#2F3EA5 #A52F79 #A5962F #2FA55B
split-complementary
#2F3EA5 #A55B2F #79A52F
monochromatic
#141A46 #212C75 #2F3EA5 #4757CB #7683D8
Accessibility & contrast
On white
8.92
#2F3EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2F3EA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3EA5
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3EA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3EA5 | 1.00 | 8.92 | 2.35 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#0044A3
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2f3ea5; /* rgb */ color: rgb(47, 62, 165); /* oklch */ color: oklch(41.9% 0.165 271.0);
Tailwind
colors: {
custom: {
50: '#7873c1',
500: '#2f3ea5',
950: '#000000',
},
}SCSS
$custom: #2f3ea5; $custom-light: #7873c1; $custom-dark: #000000;
JSON
{
"hex": "#2f3ea5",
"rgb": {
"r": 47,
"g": 62,
"b": 165
},
"hsl": {
"h": 232.373,
"s": 55.66,
"l": 41.569
},
"oklch": {
"l": 0.41922,
"c": 0.16541,
"h": 271
},
"luminance": 0.06766
}Semantic roles & 50–950 ramp
primary
#2F3EA5
secondary
#C0B670
accent
#CC49DF
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0812
muted
#7C7B81