#2F4DBF#2F4DBF
#2F4DBF is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.0% C 0.182 H 267.5°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4DBF |
|---|---|
| RGB | rgb(47, 77, 191) |
| HSL | hsl(228, 61%, 47%) |
| HSV | hsv(228, 75%, 75%) |
| CMYK | cmyk(75.4%, 59.7%, 0%, 25.1%) |
| CIE-LAB | lab(37.25, 29.59, -62.96) |
| CIE-LCH | lch(37.25, 69.56, 295.17°) |
| OKLab | oklab(47.03% -0.008 -0.1818) |
| OKLCH | oklch(47.03% 0.182 267.5) |
| XYZ | xyz(13.2269, 9.6722, 50.4499) |
| Luminance | 0.0967 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.48
Sapphire
#0F52BA
ΔE00 3.79
Cobalt
#0047AB
ΔE00 4.63
Blue (survey)
#0343DF
ΔE00 4.77
Warm Blue
#4B57DB
ΔE00 5.94
Ocean Blue
#4F42B5
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4DBF #BFA12F
analogous
#2F95BF #2F4DBF #592FBF
triadic
#2F4DBF #BF2F4D #4DBF2F
tetradic
#2F4DBF #BF2F95 #BFA12F #2FBF59
square
#2F4DBF #BF2F95 #BFA12F #2FBF59
split-complementary
#2F4DBF #BF592F #95BF2F
monochromatic
#17255D #23398E #2F4DBF #5670D5 #879AE1
Accessibility & contrast
On white
7.16
#2F4DBF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#2F4DBF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4DBF
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4DBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4DBF | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#0051BD
Tritanopia (blue-blind)
#006A7E
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2f4dbf; /* rgb */ color: rgb(47, 77, 191); /* oklch */ color: oklch(47.0% 0.182 267.5);
Tailwind
colors: {
custom: {
50: '#7d7ed3',
500: '#2f4dbf',
950: '#000000',
},
}SCSS
$custom: #2f4dbf; $custom-light: #7d7ed3; $custom-dark: #000000;
JSON
{
"hex": "#2f4dbf",
"rgb": {
"r": 47,
"g": 77,
"b": 191
},
"hsl": {
"h": 227.5,
"s": 60.504,
"l": 46.667
},
"oklch": {
"l": 0.47028,
"c": 0.18201,
"h": 267.5
},
"luminance": 0.09674
}Semantic roles & 50–950 ramp
primary
#2F4DBF
secondary
#CBBB7F
accent
#C244E4
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83