#2F4FD4#2F4FD4
#2F4FD4 is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 49.2% C 0.207 H 267.4°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4FD4 |
|---|---|
| RGB | rgb(47, 79, 212) |
| HSL | hsl(228, 66%, 51%) |
| HSV | hsv(228, 78%, 83%) |
| CMYK | cmyk(77.8%, 62.7%, 0%, 16.9%) |
| CIE-LAB | lab(39.49, 36.01, -71.47) |
| CIE-LCH | lch(39.49, 80.02, 296.74°) |
| OKLab | oklab(49.23% -0.0094 -0.2067) |
| OKLCH | oklch(49.23% 0.207 267.4) |
| XYZ | xyz(15.8478, 10.9480, 63.5525) |
| Luminance | 0.1095 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue (survey)
#0343DF
ΔE00 3.61
Warm Blue
#4B57DB
ΔE00 3.79
Blue Blue
#2242C7
ΔE00 4.22
Electric Blue
#0652FF
ΔE00 5.08
Sapphire
#0F52BA
ΔE00 5.33
Azul
#1D5DEC
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4FD4 #D4B42F
analogous
#2FA1D4 #2F4FD4 #622FD4
triadic
#2F4FD4 #D42F4F #4FD42F
tetradic
#2F4FD4 #D42FA1 #D4B42F #2FD462
square
#2F4FD4 #D42FA1 #D4B42F #2FD462
split-complementary
#2F4FD4 #D4622F #A1D42F
monochromatic
#172971 #223BA4 #2F4FD4 #627ADE #94A5E9
Accessibility & contrast
On white
6.58
#2F4FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#2F4FD4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F4FD4
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4FD4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4FD4 | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065D8
Deuteranopia (green-blind)
#0055D1
Tritanopia (blue-blind)
#00728A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2f4fd4; /* rgb */ color: rgb(47, 79, 212); /* oklch */ color: oklch(49.2% 0.207 267.4);
Tailwind
colors: {
custom: {
50: '#8280e2',
500: '#2f4fd4',
950: '#000000',
},
}SCSS
$custom: #2f4fd4; $custom-light: #8280e2; $custom-dark: #000000;
JSON
{
"hex": "#2f4fd4",
"rgb": {
"r": 47,
"g": 79,
"b": 212
},
"hsl": {
"h": 228.364,
"s": 65.737,
"l": 50.784
},
"oklch": {
"l": 0.49233,
"c": 0.20696,
"h": 267.4
},
"luminance": 0.1095
}Semantic roles & 50–950 ramp
primary
#2F4FD4
secondary
#D4C68B
accent
#C83FE9
background
#F8F7FE
surface
#F0EEFC
border
#CBC9D5
text
#0C0A16
muted
#7D7C84