#2C5DBD#2C5DBD
#2C5DBD is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.0% C 0.161 H 262.0°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2C5DBD |
|---|---|
| RGB | rgb(44, 93, 189) |
| HSL | hsl(220, 62%, 46%) |
| HSV | hsv(220, 77%, 74%) |
| CMYK | cmyk(76.7%, 50.8%, 0%, 25.9%) |
| CIE-LAB | lab(41.27, 18.03, -55.26) |
| CIE-LCH | lch(41.27, 58.12, 288.07°) |
| OKLab | oklab(49.99% -0.0223 -0.159) |
| OKLCH | oklch(49.99% 0.161 262) |
| XYZ | xyz(14.1351, 12.0367, 49.7126) |
| Luminance | 0.1204 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.54
Sapphire
#0F52BA
ΔE00 3.69
French Blue
#436BAD
ΔE00 5.11
Denim Blue
#3B5B92
ΔE00 5.35
Mid Blue
#276AB3
ΔE00 5.67
Azul
#1D5DEC
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C5DBD #BD8C2C
analogous
#2CA5BD #2C5DBD #432CBD
triadic
#2C5DBD #BD2C5D #5DBD2C
tetradic
#2C5DBD #BD2CA5 #BD8C2C #2CBD43
square
#2C5DBD #BD2CA5 #BD8C2C #2CBD43
split-complementary
#2C5DBD #BD432C #A5BD2C
monochromatic
#152C5A #20458B #2C5DBD #507DD6 #82A2E2
Accessibility & contrast
On white
6.16
#2C5DBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#2C5DBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C5DBD
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C5DBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C5DBD | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2068C0
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#007484
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2c5dbd; /* rgb */ color: rgb(44, 93, 189); /* oklch */ color: oklch(50.0% 0.161 262.0);
Tailwind
colors: {
custom: {
50: '#7a8ad1',
500: '#2c5dbd',
950: '#000000',
},
}SCSS
$custom: #2c5dbd; $custom-light: #7a8ad1; $custom-dark: #000000;
JSON
{
"hex": "#2c5dbd",
"rgb": {
"r": 44,
"g": 93,
"b": 189
},
"hsl": {
"h": 219.724,
"s": 62.232,
"l": 45.686
},
"oklch": {
"l": 0.49986,
"c": 0.16053,
"h": 262
},
"luminance": 0.12038
}Semantic roles & 50–950 ramp
primary
#2C5DBD
secondary
#CBAF7A
accent
#AE42E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82