#2F4FC1#2F4FC1
#2F4FC1 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.6% C 0.182 H 267.1°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4FC1 |
|---|---|
| RGB | rgb(47, 79, 193) |
| HSL | hsl(227, 61%, 47%) |
| HSV | hsv(227, 76%, 76%) |
| CMYK | cmyk(75.6%, 59.1%, 0%, 24.3%) |
| CIE-LAB | lab(37.92, 29.03, -63.02) |
| CIE-LCH | lch(37.92, 69.39, 294.73°) |
| OKLab | oklab(47.58% -0.0094 -0.182) |
| OKLCH | oklch(47.58% 0.182 267.1) |
| XYZ | xyz(13.5906, 10.0451, 51.6644) |
| Luminance | 0.1005 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.48
Blue Blue
#2242C7
ΔE00 4.01
Cobalt
#0047AB
ΔE00 4.92
Blue (survey)
#0343DF
ΔE00 4.96
Warm Blue
#4B57DB
ΔE00 5.55
Ocean Blue
#4F42B5
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4FC1 #C1A12F
analogous
#2F98C1 #2F4FC1 #582FC1
triadic
#2F4FC1 #C12F4F #4FC12F
tetradic
#2F4FC1 #C12F98 #C1A12F #2FC158
square
#2F4FC1 #C12F98 #C1A12F #2FC158
split-complementary
#2F4FC1 #C1582F #98C12F
monochromatic
#17275F #233B90 #2F4FC1 #5773D6 #889CE2
Accessibility & contrast
On white
6.98
#2F4FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#2F4FC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F4FC1
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4FC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4FC1 | 1.00 | 6.98 | 3.01 | 6.98 |
| #FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C5
Deuteranopia (green-blind)
#0053BF
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2f4fc1; /* rgb */ color: rgb(47, 79, 193); /* oklch */ color: oklch(47.6% 0.182 267.1);
Tailwind
colors: {
custom: {
50: '#7d80d5',
500: '#2f4fc1',
950: '#000000',
},
}SCSS
$custom: #2f4fc1; $custom-light: #7d80d5; $custom-dark: #000000;
JSON
{
"hex": "#2f4fc1",
"rgb": {
"r": 47,
"g": 79,
"b": 193
},
"hsl": {
"h": 226.849,
"s": 60.833,
"l": 47.059
},
"oklch": {
"l": 0.47582,
"c": 0.18224,
"h": 267.1
},
"luminance": 0.10047
}Semantic roles & 50–950 ramp
primary
#2F4FC1
secondary
#CCBB80
accent
#C144E4
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83