#2F4DC9#2F4DC9
#2F4DC9 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.9% C 0.195 H 267.6°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4DC9 |
|---|---|
| RGB | rgb(47, 77, 201) |
| HSL | hsl(228, 62%, 49%) |
| HSV | hsv(228, 77%, 79%) |
| CMYK | cmyk(76.6%, 61.7%, 0%, 21.2%) |
| CIE-LAB | lab(38.07, 33.27, -67.44) |
| CIE-LCH | lch(38.07, 75.20, 296.26°) |
| OKLab | oklab(47.89% -0.008 -0.195) |
| OKLCH | oklch(47.89% 0.195 267.6) |
| XYZ | xyz(14.3651, 10.1275, 56.4447) |
| Luminance | 0.1013 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.26
Blue (survey)
#0343DF
ΔE00 3.77
Sapphire
#0F52BA
ΔE00 4.57
Warm Blue
#4B57DB
ΔE00 4.95
Cobalt
#0047AB
ΔE00 5.74
Ocean Blue
#4F42B5
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4DC9 #C9AB2F
analogous
#2F9AC9 #2F4DC9 #5E2FC9
triadic
#2F4DC9 #C92F4D #4DC92F
tetradic
#2F4DC9 #C92F9A #C9AB2F #2FC95E
square
#2F4DC9 #C92F9A #C9AB2F #2FC95E
split-complementary
#2F4DC9 #C95E2F #9AC92F
monochromatic
#182766 #233A97 #2F4DC9 #5C75D9 #8E9FE5
Accessibility & contrast
On white
6.94
#2F4DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#2F4DC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F4DC9
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4DC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4DC9 | 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)
#0061CD
Deuteranopia (green-blind)
#0053C7
Tritanopia (blue-blind)
#006D84
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2f4dc9; /* rgb */ color: rgb(47, 77, 201); /* oklch */ color: oklch(47.9% 0.195 267.6);
Tailwind
colors: {
custom: {
50: '#7f7eda',
500: '#2f4dc9',
950: '#000000',
},
}SCSS
$custom: #2f4dc9; $custom-light: #7f7eda; $custom-dark: #000000;
JSON
{
"hex": "#2f4dc9",
"rgb": {
"r": 47,
"g": 77,
"b": 201
},
"hsl": {
"h": 228.312,
"s": 62.097,
"l": 48.627
},
"oklch": {
"l": 0.47894,
"c": 0.19514,
"h": 267.6
},
"luminance": 0.10129
}Semantic roles & 50–950 ramp
primary
#2F4DC9
secondary
#CFC085
accent
#C643E5
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83