#2F5BC0#2F5BC0
#2F5BC0 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.9% C 0.166 H 263.7°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5BC0 |
|---|---|
| RGB | rgb(47, 91, 192) |
| HSL | hsl(222, 61%, 47%) |
| HSV | hsv(222, 76%, 75%) |
| CMYK | cmyk(75.5%, 52.6%, 0%, 24.7%) |
| CIE-LAB | lab(41.04, 20.83, -57.37) |
| CIE-LCH | lch(41.04, 61.04, 289.95°) |
| OKLab | oklab(49.91% -0.0182 -0.1652) |
| OKLCH | oklch(49.91% 0.166 263.7) |
| XYZ | xyz(14.4244, 11.8907, 51.3939) |
| Luminance | 0.1189 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.37
Denim
#1560BD
ΔE00 3.58
Azul
#1D5DEC
ΔE00 5.37
Denim Blue
#3B5B92
ΔE00 5.75
French Blue
#436BAD
ΔE00 5.87
Warm Blue
#4B57DB
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5BC0 #C0942F
analogous
#2FA4C0 #2F5BC0 #4C2FC0
triadic
#2F5BC0 #C02F5B #5BC02F
tetradic
#2F5BC0 #C02FA4 #C0942F #2FC04C
square
#2F5BC0 #C02FA4 #C0942F #2FC04C
split-complementary
#2F5BC0 #C04C2F #A4C02F
monochromatic
#172C5E #23448F #2F5BC0 #567DD6 #88A3E2
Accessibility & contrast
On white
6.22
#2F5BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#2F5BC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5BC0
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5BC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5BC0 | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1368C4
Deuteranopia (green-blind)
#005ABE
Tritanopia (blue-blind)
#007385
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2f5bc0; /* rgb */ color: rgb(47, 91, 192); /* oklch */ color: oklch(49.9% 0.166 263.7);
Tailwind
colors: {
custom: {
50: '#7c88d4',
500: '#2f5bc0',
950: '#000000',
},
}SCSS
$custom: #2f5bc0; $custom-light: #7c88d4; $custom-dark: #000000;
JSON
{
"hex": "#2f5bc0",
"rgb": {
"r": 47,
"g": 91,
"b": 192
},
"hsl": {
"h": 221.793,
"s": 60.669,
"l": 46.863
},
"oklch": {
"l": 0.49906,
"c": 0.1662,
"h": 263.7
},
"luminance": 0.11892
}Semantic roles & 50–950 ramp
primary
#2F5BC0
secondary
#CBB47F
accent
#B344E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83