#2F4FC4#2F4FC4
#2F4FC4 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.8% C 0.186 H 267.1°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4FC4 |
|---|---|
| RGB | rgb(47, 79, 196) |
| HSL | hsl(227, 61%, 48%) |
| HSV | hsv(227, 76%, 77%) |
| CMYK | cmyk(76%, 59.7%, 0%, 23.1%) |
| CIE-LAB | lab(38.16, 30.14, -64.38) |
| CIE-LCH | lch(38.16, 71.09, 295.09°) |
| OKLab | oklab(47.84% -0.0093 -0.186) |
| OKLCH | oklch(47.84% 0.186 267.1) |
| XYZ | xyz(13.9286, 10.1803, 53.4448) |
| Luminance | 0.1018 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.73
Blue Blue
#2242C7
ΔE00 3.92
Blue (survey)
#0343DF
ΔE00 4.67
Warm Blue
#4B57DB
ΔE00 5.22
Cobalt
#0047AB
ΔE00 5.24
Azul
#1D5DEC
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4FC4 #C4A42F
analogous
#2F9AC4 #2F4FC4 #592FC4
triadic
#2F4FC4 #C42F4F #4FC42F
tetradic
#2F4FC4 #C42F9A #C4A42F #2FC459
square
#2F4FC4 #C42F9A #C4A42F #2FC459
split-complementary
#2F4FC4 #C4592F #9AC42F
monochromatic
#172761 #233B93 #2F4FC4 #5974D7 #8A9DE3
Accessibility & contrast
On white
6.92
#2F4FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#2F4FC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F4FC4
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4FC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4FC4 | 1.00 | 6.92 | 3.04 | 6.92 |
| #FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#0053C2
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2f4fc4; /* rgb */ color: rgb(47, 79, 196); /* oklch */ color: oklch(47.8% 0.186 267.1);
Tailwind
colors: {
custom: {
50: '#7e80d7',
500: '#2f4fc4',
950: '#000000',
},
}SCSS
$custom: #2f4fc4; $custom-light: #7e80d7; $custom-dark: #000000;
JSON
{
"hex": "#2f4fc4",
"rgb": {
"r": 47,
"g": 79,
"b": 196
},
"hsl": {
"h": 227.114,
"s": 61.317,
"l": 47.647
},
"oklch": {
"l": 0.47836,
"c": 0.18621,
"h": 267.1
},
"luminance": 0.10182
}Semantic roles & 50–950 ramp
primary
#2F4FC4
secondary
#CDBD82
accent
#C243E4
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0B0A14
muted
#7C7C83