#2C5FC2#2C5FC2
#2C5FC2 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.8% C 0.165 H 261.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2C5FC2 |
|---|---|
| RGB | rgb(44, 95, 194) |
| HSL | hsl(220, 63%, 47%) |
| HSV | hsv(220, 77%, 76%) |
| CMYK | cmyk(77.3%, 51%, 0%, 23.9%) |
| CIE-LAB | lab(42.17, 18.64, -56.71) |
| CIE-LCH | lch(42.17, 59.69, 288.19°) |
| OKLab | oklab(50.78% -0.0232 -0.1632) |
| OKLCH | oklch(50.78% 0.165 261.9) |
| XYZ | xyz(14.8650, 12.6132, 52.6796) |
| Luminance | 0.1262 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.45
Sapphire
#0F52BA
ΔE00 4.42
French Blue
#436BAD
ΔE00 4.73
Azul
#1D5DEC
ΔE00 5.25
Mid Blue
#276AB3
ΔE00 5.29
Royal Blue
#4169E1
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C5FC2 #C28F2C
analogous
#2CAAC2 #2C5FC2 #442CC2
triadic
#2C5FC2 #C22C5F #5FC22C
tetradic
#2C5FC2 #C22CAA #C28F2C #2CC244
square
#2C5FC2 #C22CAA #C28F2C #2CC244
split-complementary
#2C5FC2 #C2442C #AAC22C
monochromatic
#152E5E #214790 #2C5FC2 #5380D8 #85A5E3
Accessibility & contrast
On white
5.96
#2C5FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#2C5FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C5FC2
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C5FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C5FC2 | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F6BC6
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#007787
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2c5fc2; /* rgb */ color: rgb(44, 95, 194); /* oklch */ color: oklch(50.8% 0.165 261.9);
Tailwind
colors: {
custom: {
50: '#7b8bd5',
500: '#2c5fc2',
950: '#000000',
},
}SCSS
$custom: #2c5fc2; $custom-light: #7b8bd5; $custom-dark: #000000;
JSON
{
"hex": "#2c5fc2",
"rgb": {
"r": 44,
"g": 95,
"b": 194
},
"hsl": {
"h": 219.6,
"s": 63.025,
"l": 46.667
},
"oklch": {
"l": 0.50782,
"c": 0.16486,
"h": 261.9
},
"luminance": 0.12615
}Semantic roles & 50–950 ramp
primary
#2C5FC2
secondary
#CDB27D
accent
#AE42E6
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83