#2F5CBD#2F5CBD
#2F5CBD is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.9% C 0.161 H 263.1°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5CBD |
|---|---|
| RGB | rgb(47, 92, 189) |
| HSL | hsl(221, 60%, 46%) |
| HSV | hsv(221, 75%, 74%) |
| CMYK | cmyk(75.1%, 51.3%, 0%, 25.9%) |
| CIE-LAB | lab(41.11, 19.05, -55.52) |
| CIE-LCH | lch(41.11, 58.70, 288.93°) |
| OKLab | oklab(49.89% -0.0193 -0.1597) |
| OKLCH | oklch(49.89% 0.161 263.1) |
| XYZ | xyz(14.1815, 11.9312, 49.6898) |
| Luminance | 0.1193 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.12
Sapphire
#0F52BA
ΔE00 3.50
Denim Blue
#3B5B92
ΔE00 5.36
French Blue
#436BAD
ΔE00 5.43
Azul
#1D5DEC
ΔE00 5.73
Dusky Blue
#475F94
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5CBD #BD902F
analogous
#2FA3BD #2F5CBD #492FBD
triadic
#2F5CBD #BD2F5C #5CBD2F
tetradic
#2F5CBD #BD2FA3 #BD902F #2FBD49
square
#2F5CBD #BD2FA3 #BD902F #2FBD49
split-complementary
#2F5CBD #BD492F #A3BD2F
monochromatic
#172C5B #23448C #2F5CBD #557DD5 #86A2E1
Accessibility & contrast
On white
6.20
#2F5CBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#2F5CBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5CBD
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5CBD | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E68C0
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#007383
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2f5cbd; /* rgb */ color: rgb(47, 92, 189); /* oklch */ color: oklch(49.9% 0.161 263.1);
Tailwind
colors: {
custom: {
50: '#7b89d2',
500: '#2f5cbd',
950: '#000000',
},
}SCSS
$custom: #2f5cbd; $custom-light: #7b89d2; $custom-dark: #000000;
JSON
{
"hex": "#2f5cbd",
"rgb": {
"r": 47,
"g": 92,
"b": 189
},
"hsl": {
"h": 220.986,
"s": 60.169,
"l": 46.275
},
"oklch": {
"l": 0.49888,
"c": 0.16089,
"h": 263.1
},
"luminance": 0.11933
}Semantic roles & 50–950 ramp
primary
#2F5CBD
secondary
#CAB27E
accent
#B144E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82