#2F4FC9#2F4FC9
#2F4FC9 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.3% C 0.193 H 267.2°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4FC9 |
|---|---|
| RGB | rgb(47, 79, 201) |
| HSL | hsl(228, 62%, 49%) |
| HSV | hsv(228, 77%, 79%) |
| CMYK | cmyk(76.6%, 60.7%, 0%, 21.2%) |
| CIE-LAB | lab(38.57, 31.99, -66.62) |
| CIE-LCH | lch(38.57, 73.90, 295.65°) |
| OKLab | oklab(48.27% -0.0093 -0.1925) |
| OKLCH | oklch(48.27% 0.193 267.2) |
| XYZ | xyz(14.5072, 10.4117, 56.4921) |
| Luminance | 0.1041 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.87
Sapphire
#0F52BA
ΔE00 4.19
Blue (survey)
#0343DF
ΔE00 4.23
Warm Blue
#4B57DB
ΔE00 4.72
Cobalt
#0047AB
ΔE00 5.80
Azul
#1D5DEC
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4FC9 #C9A92F
analogous
#2F9CC9 #2F4FC9 #5C2FC9
triadic
#2F4FC9 #C92F4F #4FC92F
tetradic
#2F4FC9 #C92F9C #C9A92F #2FC95C
square
#2F4FC9 #C92F9C #C9A92F #2FC95C
split-complementary
#2F4FC9 #C95C2F #9CC92F
monochromatic
#182866 #233C97 #2F4FC9 #5C76D9 #8EA0E5
Accessibility & contrast
On white
6.81
#2F4FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#2F4FC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F4FC9
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4FC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4FC9 | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062CD
Deuteranopia (green-blind)
#0054C7
Tritanopia (blue-blind)
#006E84
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2f4fc9; /* rgb */ color: rgb(47, 79, 201); /* oklch */ color: oklch(48.3% 0.193 267.2);
Tailwind
colors: {
custom: {
50: '#7f80da',
500: '#2f4fc9',
950: '#000000',
},
}SCSS
$custom: #2f4fc9; $custom-light: #7f80da; $custom-dark: #000000;
JSON
{
"hex": "#2f4fc9",
"rgb": {
"r": 47,
"g": 79,
"b": 201
},
"hsl": {
"h": 227.532,
"s": 62.097,
"l": 48.627
},
"oklch": {
"l": 0.48266,
"c": 0.19277,
"h": 267.2
},
"luminance": 0.10413
}Semantic roles & 50–950 ramp
primary
#2F4FC9
secondary
#CFC085
accent
#C343E5
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83