#2F5DC1#2F5DC1
#2F5DC1 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.4% C 0.165 H 263.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5DC1 |
|---|---|
| RGB | rgb(47, 93, 193) |
| HSL | hsl(221, 61%, 47%) |
| HSV | hsv(221, 76%, 76%) |
| CMYK | cmyk(75.6%, 51.8%, 0%, 24.3%) |
| CIE-LAB | lab(41.66, 19.91, -56.95) |
| CIE-LCH | lch(41.66, 60.33, 289.27°) |
| OKLab | oklab(50.4% -0.0196 -0.1639) |
| OKLCH | oklch(50.4% 0.165 263.2) |
| XYZ | xyz(14.7088, 12.2816, 52.0371) |
| Luminance | 0.1228 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.11
Sapphire
#0F52BA
ΔE00 3.90
Azul
#1D5DEC
ΔE00 5.21
French Blue
#436BAD
ΔE00 5.28
Denim Blue
#3B5B92
ΔE00 5.84
Mid Blue
#276AB3
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5DC1 #C1932F
analogous
#2FA6C1 #2F5DC1 #4A2FC1
triadic
#2F5DC1 #C12F5D #5DC12F
tetradic
#2F5DC1 #C12FA6 #C1932F #2FC14A
square
#2F5DC1 #C12FA6 #C1932F #2FC14A
split-complementary
#2F5DC1 #C14A2F #A6C12F
monochromatic
#172E5F #234590 #2F5DC1 #577FD6 #88A5E2
Accessibility & contrast
On white
6.08
#2F5DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#2F5DC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5DC1
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5DC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5DC1 | 1.00 | 6.08 | 3.46 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A69C5
Deuteranopia (green-blind)
#005CBF
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2f5dc1; /* rgb */ color: rgb(47, 93, 193); /* oklch */ color: oklch(50.4% 0.165 263.2);
Tailwind
colors: {
custom: {
50: '#7c8ad4',
500: '#2f5dc1',
950: '#000000',
},
}SCSS
$custom: #2f5dc1; $custom-light: #7c8ad4; $custom-dark: #000000;
JSON
{
"hex": "#2f5dc1",
"rgb": {
"r": 47,
"g": 93,
"b": 193
},
"hsl": {
"h": 221.096,
"s": 60.833,
"l": 47.059
},
"oklch": {
"l": 0.50398,
"c": 0.1651,
"h": 263.2
},
"luminance": 0.12283
}Semantic roles & 50–950 ramp
primary
#2F5DC1
secondary
#CCB480
accent
#B244E4
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83