#2F5CC0#2F5CC0
#2F5CC0 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.1% C 0.165 H 263.4°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5CC0 |
|---|---|
| RGB | rgb(47, 92, 192) |
| HSL | hsl(221, 61%, 47%) |
| HSV | hsv(221, 76%, 75%) |
| CMYK | cmyk(75.5%, 52.1%, 0%, 24.7%) |
| CIE-LAB | lab(41.32, 20.18, -56.93) |
| CIE-LCH | lch(41.32, 60.40, 289.52°) |
| OKLab | oklab(50.11% -0.019 -0.1639) |
| OKLCH | oklch(50.11% 0.165 263.4) |
| XYZ | xyz(14.5105, 12.0628, 51.4226) |
| Luminance | 0.1206 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.30
Sapphire
#0F52BA
ΔE00 3.61
Azul
#1D5DEC
ΔE00 5.34
French Blue
#436BAD
ΔE00 5.55
Denim Blue
#3B5B92
ΔE00 5.72
Dusky Blue
#475F94
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5CC0 #C0932F
analogous
#2FA5C0 #2F5CC0 #4A2FC0
triadic
#2F5CC0 #C02F5C #5CC02F
tetradic
#2F5CC0 #C02FA5 #C0932F #2FC04A
square
#2F5CC0 #C02FA5 #C0932F #2FC04A
split-complementary
#2F5CC0 #C04A2F #A5C02F
monochromatic
#172D5E #23448F #2F5CC0 #567ED6 #88A4E2
Accessibility & contrast
On white
6.15
#2F5CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#2F5CC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5CC0
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5CC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5CC0 | 1.00 | 6.15 | 3.41 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1868C4
Deuteranopia (green-blind)
#005BBE
Tritanopia (blue-blind)
#007485
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2f5cc0; /* rgb */ color: rgb(47, 92, 192); /* oklch */ color: oklch(50.1% 0.165 263.4);
Tailwind
colors: {
custom: {
50: '#7c89d4',
500: '#2f5cc0',
950: '#000000',
},
}SCSS
$custom: #2f5cc0; $custom-light: #7c89d4; $custom-dark: #000000;
JSON
{
"hex": "#2f5cc0",
"rgb": {
"r": 47,
"g": 92,
"b": 192
},
"hsl": {
"h": 221.379,
"s": 60.669,
"l": 46.863
},
"oklch": {
"l": 0.50114,
"c": 0.16497,
"h": 263.4
},
"luminance": 0.12064
}Semantic roles & 50–950 ramp
primary
#2F5CC0
secondary
#CBB47F
accent
#B244E4
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83