#2F4FC3#2F4FC3
#2F4FC3 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.8% C 0.185 H 267.1°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4FC3 |
|---|---|
| RGB | rgb(47, 79, 195) |
| HSL | hsl(227, 61%, 47%) |
| HSV | hsv(227, 76%, 76%) |
| CMYK | cmyk(75.9%, 59.5%, 0%, 23.5%) |
| CIE-LAB | lab(38.08, 29.77, -63.93) |
| CIE-LCH | lch(38.08, 70.52, 294.97°) |
| OKLab | oklab(47.75% -0.0093 -0.1847) |
| OKLCH | oklch(47.75% 0.185 267.1) |
| XYZ | xyz(13.8152, 10.1349, 52.8473) |
| Luminance | 0.1014 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.64
Blue Blue
#2242C7
ΔE00 3.95
Blue (survey)
#0343DF
ΔE00 4.77
Cobalt
#0047AB
ΔE00 5.13
Warm Blue
#4B57DB
ΔE00 5.33
Ocean Blue
#4F42B5
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4FC3 #C3A32F
analogous
#2F99C3 #2F4FC3 #592FC3
triadic
#2F4FC3 #C32F4F #4FC32F
tetradic
#2F4FC3 #C32F99 #C3A32F #2FC359
square
#2F4FC3 #C32F99 #C3A32F #2FC359
split-complementary
#2F4FC3 #C3592F #99C32F
monochromatic
#172760 #233B92 #2F4FC3 #5874D7 #8A9DE3
Accessibility & contrast
On white
6.94
#2F4FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#2F4FC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F4FC3
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4FC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4FC3 | 1.00 | 6.94 | 3.03 | 6.94 |
| #FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C7
Deuteranopia (green-blind)
#0053C1
Tritanopia (blue-blind)
#006C81
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2f4fc3; /* rgb */ color: rgb(47, 79, 195); /* oklch */ color: oklch(47.8% 0.185 267.1);
Tailwind
colors: {
custom: {
50: '#7e80d6',
500: '#2f4fc3',
950: '#000000',
},
}SCSS
$custom: #2f4fc3; $custom-light: #7e80d6; $custom-dark: #000000;
JSON
{
"hex": "#2f4fc3",
"rgb": {
"r": 47,
"g": 79,
"b": 195
},
"hsl": {
"h": 227.027,
"s": 61.157,
"l": 47.451
},
"oklch": {
"l": 0.47751,
"c": 0.1849,
"h": 267.1
},
"luminance": 0.10136
}Semantic roles & 50–950 ramp
primary
#2F4FC3
secondary
#CDBC81
accent
#C244E4
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0B0A14
muted
#7C7C83