#2C4DB5#2C4DB5
#2C4DB5 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.1% C 0.169 H 266.3°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4DB5 |
|---|---|
| RGB | rgb(44, 77, 181) |
| HSL | hsl(226, 61%, 44%) |
| HSV | hsv(226, 76%, 71%) |
| CMYK | cmyk(75.7%, 57.5%, 0%, 29%) |
| CIE-LAB | lab(36.33, 25.50, -58.59) |
| CIE-LCH | lch(36.33, 63.90, 293.52°) |
| OKLab | oklab(46.05% -0.0109 -0.1691) |
| OKLCH | oklch(46.05% 0.169 266.3) |
| XYZ | xyz(12.0301, 9.1781, 44.8446) |
| Luminance | 0.0918 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.07
Cobalt
#0047AB
ΔE00 3.42
Blue Blue
#2242C7
ΔE00 4.31
Cobalt (survey)
#1E488F
ΔE00 5.88
Blue (survey)
#0343DF
ΔE00 6.01
Sapphire (survey)
#2138AB
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4DB5 #B5942C
analogous
#2C92B5 #2C4DB5 #4F2CB5
triadic
#2C4DB5 #B52C4D #4DB52C
tetradic
#2C4DB5 #B52C92 #B5942C #2CB54F
square
#2C4DB5 #B52C92 #B5942C #2CB54F
split-complementary
#2C4DB5 #B54F2C #92B52C
monochromatic
#142353 #203884 #2C4DB5 #4B6CD3 #7C94DF
Accessibility & contrast
On white
7.41
#2C4DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#2C4DB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4DB5
7.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4DB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4DB5 | 1.00 | 7.41 | 2.84 | 7.41 |
| #FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#004FB3
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2c4db5; /* rgb */ color: rgb(44, 77, 181); /* oklch */ color: oklch(46.1% 0.169 266.3);
Tailwind
colors: {
custom: {
50: '#797ecc',
500: '#2c4db5',
950: '#000000',
},
}SCSS
$custom: #2c4db5; $custom-light: #797ecc; $custom-dark: #000000;
JSON
{
"hex": "#2c4db5",
"rgb": {
"r": 44,
"g": 77,
"b": 181
},
"hsl": {
"h": 225.547,
"s": 60.889,
"l": 44.118
},
"oklch": {
"l": 0.46054,
"c": 0.16941,
"h": 266.3
},
"luminance": 0.09179
}Semantic roles & 50–950 ramp
primary
#2C4DB5
secondary
#C8B475
accent
#BD44E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82