#2F3EA7#2F3EA7
#2F3EA7 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.1% C 0.168 H 270.9°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3EA7 |
|---|---|
| RGB | rgb(47, 62, 167) |
| HSL | hsl(233, 56%, 42%) |
| HSV | hsv(233, 72%, 65%) |
| CMYK | cmyk(71.9%, 62.9%, 0%, 34.5%) |
| CIE-LAB | lab(31.44, 30.53, -58.22) |
| CIE-LCH | lch(31.44, 65.74, 297.67°) |
| OKLab | oklab(42.1% 0.0028 -0.1681) |
| OKLCH | oklch(42.1% 0.168 270.9) |
| XYZ | xyz(9.8676, 6.8386, 37.3517) |
| Luminance | 0.0684 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.01
Blue Blue
#2242C7
ΔE00 4.36
Blueberry
#464196
ΔE00 4.41
Ocean Blue
#4F42B5
ΔE00 5.03
Cobalt
#0047AB
ΔE00 5.14
Darkslateblue
#483D8B
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3EA7 #A7982F
analogous
#2F7AA7 #2F3EA7 #5C2FA7
triadic
#2F3EA7 #A72F3E #3EA72F
tetradic
#2F3EA7 #A72F7A #A7982F #2FA75C
square
#2F3EA7 #A72F7A #A7982F #2FA75C
split-complementary
#2F3EA7 #A75C2F #7AA72F
monochromatic
#141B47 #222C77 #2F3EA7 #4858CB #7884D9
Accessibility & contrast
On white
8.87
#2F3EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#2F3EA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3EA7
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3EA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3EA7 | 1.00 | 8.87 | 2.37 | 8.87 |
| #FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050AA
Deuteranopia (green-blind)
#0045A5
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2f3ea7; /* rgb */ color: rgb(47, 62, 167); /* oklch */ color: oklch(42.1% 0.168 270.9);
Tailwind
colors: {
custom: {
50: '#7873c2',
500: '#2f3ea7',
950: '#000000',
},
}SCSS
$custom: #2f3ea7; $custom-light: #7873c2; $custom-dark: #000000;
JSON
{
"hex": "#2f3ea7",
"rgb": {
"r": 47,
"g": 62,
"b": 167
},
"hsl": {
"h": 232.5,
"s": 56.075,
"l": 41.961
},
"oklch": {
"l": 0.42101,
"c": 0.16812,
"h": 270.9
},
"luminance": 0.0684
}Semantic roles & 50–950 ramp
primary
#2F3EA7
secondary
#C1B771
accent
#CD48DF
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0812
muted
#7C7B81