#2C5CBF#2C5CBF
#2C5CBF is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.9% C 0.164 H 262.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2C5CBF |
|---|---|
| RGB | rgb(44, 92, 191) |
| HSL | hsl(220, 63%, 46%) |
| HSV | hsv(220, 77%, 75%) |
| CMYK | cmyk(77%, 51.8%, 0%, 25.1%) |
| CIE-LAB | lab(41.14, 19.45, -56.64) |
| CIE-LCH | lch(41.14, 59.89, 288.95°) |
| OKLab | oklab(49.93% -0.0213 -0.1631) |
| OKLCH | oklch(49.93% 0.164 262.6) |
| XYZ | xyz(14.2665, 11.9497, 50.8347) |
| Luminance | 0.1195 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.95
Sapphire
#0F52BA
ΔE00 3.46
French Blue
#436BAD
ΔE00 5.49
Azul
#1D5DEC
ΔE00 5.55
Denim Blue
#3B5B92
ΔE00 5.57
Mid Blue
#276AB3
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C5CBF #BF8F2C
analogous
#2CA5BF #2C5CBF #452CBF
triadic
#2C5CBF #BF2C5C #5CBF2C
tetradic
#2C5CBF #BF2CA5 #BF8F2C #2CBF45
square
#2C5CBF #BF2CA5 #BF8F2C #2CBF45
split-complementary
#2C5CBF #BF452C #A5BF2C
monochromatic
#152C5C #21448D #2C5CBF #517DD7 #83A2E2
Accessibility & contrast
On white
6.19
#2C5CBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#2C5CBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C5CBF
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C5CBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C5CBF | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1968C3
Deuteranopia (green-blind)
#005BBD
Tritanopia (blue-blind)
#007484
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2c5cbf; /* rgb */ color: rgb(44, 92, 191); /* oklch */ color: oklch(49.9% 0.164 262.6);
Tailwind
colors: {
custom: {
50: '#7b89d3',
500: '#2c5cbf',
950: '#000000',
},
}SCSS
$custom: #2c5cbf; $custom-light: #7b89d3; $custom-dark: #000000;
JSON
{
"hex": "#2c5cbf",
"rgb": {
"r": 44,
"g": 92,
"b": 191
},
"hsl": {
"h": 220.408,
"s": 62.553,
"l": 46.078
},
"oklch": {
"l": 0.49925,
"c": 0.16446,
"h": 262.6
},
"luminance": 0.11951
}Semantic roles & 50–950 ramp
primary
#2C5CBF
secondary
#CCB17B
accent
#B042E6
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83