#2F4DBE#2F4DBE
#2F4DBE is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.9% C 0.181 H 267.4°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4DBE |
|---|---|
| RGB | rgb(47, 77, 190) |
| HSL | hsl(227, 60%, 46%) |
| HSV | hsv(227, 75%, 75%) |
| CMYK | cmyk(75.3%, 59.5%, 0%, 25.5%) |
| CIE-LAB | lab(37.17, 29.22, -62.50) |
| CIE-LCH | lch(37.17, 68.99, 295.06°) |
| OKLab | oklab(46.94% -0.008 -0.1805) |
| OKLCH | oklch(46.94% 0.181 267.4) |
| XYZ | xyz(13.1172, 9.6284, 49.8724) |
| Luminance | 0.0963 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.53
Sapphire
#0F52BA
ΔE00 3.72
Cobalt
#0047AB
ΔE00 4.52
Blue (survey)
#0343DF
ΔE00 4.88
Warm Blue
#4B57DB
ΔE00 6.04
Ocean Blue
#4F42B5
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4DBE #BEA02F
analogous
#2F95BE #2F4DBE #592FBE
triadic
#2F4DBE #BE2F4D #4DBE2F
tetradic
#2F4DBE #BE2F95 #BEA02F #2FBE59
square
#2F4DBE #BE2F95 #BEA02F #2FBE59
split-complementary
#2F4DBE #BE592F #95BE2F
monochromatic
#17255C #23398D #2F4DBE #5570D5 #8699E1
Accessibility & contrast
On white
7.18
#2F4DBE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#2F4DBE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4DBE
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4DBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4DBE | 1.00 | 7.18 | 2.93 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#0051BC
Tritanopia (blue-blind)
#006A7E
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2f4dbe; /* rgb */ color: rgb(47, 77, 190); /* oklch */ color: oklch(46.9% 0.181 267.4);
Tailwind
colors: {
custom: {
50: '#7d7ed2',
500: '#2f4dbe',
950: '#000000',
},
}SCSS
$custom: #2f4dbe; $custom-light: #7d7ed2; $custom-dark: #000000;
JSON
{
"hex": "#2f4dbe",
"rgb": {
"r": 47,
"g": 77,
"b": 190
},
"hsl": {
"h": 227.413,
"s": 60.338,
"l": 46.471
},
"oklch": {
"l": 0.46943,
"c": 0.18068,
"h": 267.4
},
"luminance": 0.0963
}Semantic roles & 50–950 ramp
primary
#2F4DBE
secondary
#CBBB7E
accent
#C244E3
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83