#2C5FC3#2C5FC3
#2C5FC3 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.9% C 0.166 H 262.0°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2C5FC3 |
|---|---|
| RGB | rgb(44, 95, 195) |
| HSL | hsl(220, 63%, 47%) |
| HSV | hsv(220, 77%, 76%) |
| CMYK | cmyk(77.4%, 51.3%, 0%, 23.5%) |
| CIE-LAB | lab(42.24, 19.02, -57.18) |
| CIE-LCH | lch(42.24, 60.26, 288.40°) |
| OKLab | oklab(50.86% -0.0231 -0.1646) |
| OKLCH | oklch(50.86% 0.166 262) |
| XYZ | xyz(14.9777, 12.6583, 53.2731) |
| Luminance | 0.1266 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.54
Sapphire
#0F52BA
ΔE00 4.46
French Blue
#436BAD
ΔE00 4.78
Azul
#1D5DEC
ΔE00 5.12
Mid Blue
#276AB3
ΔE00 5.36
Royal Blue
#4169E1
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C5FC3 #C3902C
analogous
#2CABC3 #2C5FC3 #452CC3
triadic
#2C5FC3 #C32C5F #5FC32C
tetradic
#2C5FC3 #C32CAB #C3902C #2CC345
square
#2C5FC3 #C32CAB #C3902C #2CC345
split-complementary
#2C5FC3 #C3452C #ABC32C
monochromatic
#152E5F #214791 #2C5FC3 #5481D8 #86A5E4
Accessibility & contrast
On white
5.95
#2C5FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#2C5FC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C5FC3
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C5FC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C5FC3 | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D6BC7
Deuteranopia (green-blind)
#005DC1
Tritanopia (blue-blind)
#007788
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2c5fc3; /* rgb */ color: rgb(44, 95, 195); /* oklch */ color: oklch(50.9% 0.166 262.0);
Tailwind
colors: {
custom: {
50: '#7c8bd6',
500: '#2c5fc3',
950: '#000000',
},
}SCSS
$custom: #2c5fc3; $custom-light: #7c8bd6; $custom-dark: #000000;
JSON
{
"hex": "#2c5fc3",
"rgb": {
"r": 44,
"g": 95,
"b": 195
},
"hsl": {
"h": 219.735,
"s": 63.18,
"l": 46.863
},
"oklch": {
"l": 0.50857,
"c": 0.1662,
"h": 262
},
"luminance": 0.1266
}Semantic roles & 50–950 ramp
primary
#2C5FC3
secondary
#CDB27E
accent
#AF42E6
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83