#2F4EC1#2F4EC1
#2F4EC1 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.4% C 0.183 H 267.3°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4EC1 |
|---|---|
| RGB | rgb(47, 78, 193) |
| HSL | hsl(227, 61%, 47%) |
| HSV | hsv(227, 76%, 76%) |
| CMYK | cmyk(75.6%, 59.6%, 0%, 24.3%) |
| CIE-LAB | lab(37.67, 29.68, -63.44) |
| CIE-LCH | lch(37.67, 70.04, 295.07°) |
| OKLab | oklab(47.39% -0.0087 -0.1832) |
| OKLCH | oklch(47.39% 0.183 267.3) |
| XYZ | xyz(13.5190, 9.9019, 51.6405) |
| Luminance | 0.0990 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.69
Blue Blue
#2242C7
ΔE00 3.70
Blue (survey)
#0343DF
ΔE00 4.75
Cobalt
#0047AB
ΔE00 4.87
Warm Blue
#4B57DB
ΔE00 5.63
Ocean Blue
#4F42B5
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4EC1 #C1A22F
analogous
#2F97C1 #2F4EC1 #592FC1
triadic
#2F4EC1 #C12F4E #4EC12F
tetradic
#2F4EC1 #C12F97 #C1A22F #2FC159
square
#2F4EC1 #C12F97 #C1A22F #2FC159
split-complementary
#2F4EC1 #C1592F #97C12F
monochromatic
#17265F #233A90 #2F4EC1 #5772D6 #889BE2
Accessibility & contrast
On white
7.05
#2F4EC1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#2F4EC1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4EC1
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4EC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4EC1 | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C5
Deuteranopia (green-blind)
#0052BF
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2f4ec1; /* rgb */ color: rgb(47, 78, 193); /* oklch */ color: oklch(47.4% 0.183 267.3);
Tailwind
colors: {
custom: {
50: '#7d7fd5',
500: '#2f4ec1',
950: '#000000',
},
}SCSS
$custom: #2f4ec1; $custom-light: #7d7fd5; $custom-dark: #000000;
JSON
{
"hex": "#2f4ec1",
"rgb": {
"r": 47,
"g": 78,
"b": 193
},
"hsl": {
"h": 227.26,
"s": 60.833,
"l": 47.059
},
"oklch": {
"l": 0.4739,
"c": 0.18345,
"h": 267.3
},
"luminance": 0.09903
}Semantic roles & 50–950 ramp
primary
#2F4EC1
secondary
#CCBC80
accent
#C244E4
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83