#2F3EB1#2F3EB1
#2F3EB1 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.0% C 0.181 H 270.7°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3EB1 |
|---|---|
| RGB | rgb(47, 62, 177) |
| HSL | hsl(233, 58%, 44%) |
| HSV | hsv(233, 73%, 69%) |
| CMYK | cmyk(73.4%, 65%, 0%, 30.6%) |
| CIE-LAB | lab(32.31, 34.16, -62.77) |
| CIE-LCH | lch(32.31, 71.46, 298.55°) |
| OKLab | oklab(43.01% 0.0023 -0.1814) |
| OKLCH | oklch(43.01% 0.181 270.7) |
| XYZ | xyz(10.8280, 7.2228, 42.4099) |
| Luminance | 0.0722 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.11
Blue Blue
#2242C7
ΔE00 3.10
Ocean Blue
#4F42B5
ΔE00 4.37
Blueberry
#464196
ΔE00 5.26
Cobalt
#0047AB
ΔE00 5.48
Blue With A Hint Of Purple
#533CC6
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3EB1 #B1A22F
analogous
#2F7FB1 #2F3EB1 #612FB1
triadic
#2F3EB1 #B12F3E #3EB12F
tetradic
#2F3EB1 #B12F7F #B1A22F #2FB161
square
#2F3EB1 #B12F7F #B1A22F #2FB161
split-complementary
#2F3EB1 #B1612F #7FB12F
monochromatic
#151C50 #222D81 #2F3EB1 #4D5CD0 #7E89DD
Accessibility & contrast
On white
8.59
#2F3EB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#2F3EB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3EB1
8.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3EB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3EB1 | 1.00 | 8.59 | 2.44 | 8.59 |
| #FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0046AF
Tritanopia (blue-blind)
#005C72
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2f3eb1; /* rgb */ color: rgb(47, 62, 177); /* oklch */ color: oklch(43.0% 0.181 270.7);
Tailwind
colors: {
custom: {
50: '#7b73c9',
500: '#2f3eb1',
950: '#000000',
},
}SCSS
$custom: #2f3eb1; $custom-light: #7b73c9; $custom-dark: #000000;
JSON
{
"hex": "#2f3eb1",
"rgb": {
"r": 47,
"g": 62,
"b": 177
},
"hsl": {
"h": 233.077,
"s": 58.036,
"l": 43.922
},
"oklch": {
"l": 0.43011,
"c": 0.18145,
"h": 270.7
},
"luminance": 0.07224
}Semantic roles & 50–950 ramp
primary
#2F3EB1
secondary
#C5BC76
accent
#CF47E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82