#2C4DB3#2C4DB3
#2C4DB3 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.9% C 0.167 H 266.2°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4DB3 |
|---|---|
| RGB | rgb(44, 77, 179) |
| HSL | hsl(225, 61%, 44%) |
| HSV | hsv(225, 75%, 70%) |
| CMYK | cmyk(75.4%, 57%, 0%, 29.8%) |
| CIE-LAB | lab(36.17, 24.75, -57.66) |
| CIE-LCH | lch(36.17, 62.75, 293.23°) |
| OKLab | oklab(45.89% -0.011 -0.1663) |
| OKLCH | oklch(45.89% 0.167 266.2) |
| XYZ | xyz(11.8264, 9.0966, 43.7716) |
| Luminance | 0.0910 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.04
Cobalt
#0047AB
ΔE00 3.26
Blue Blue
#2242C7
ΔE00 4.51
Cobalt (survey)
#1E488F
ΔE00 5.61
Blue (survey)
#0343DF
ΔE00 6.26
Dusk Blue
#26538D
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4DB3 #B3922C
analogous
#2C90B3 #2C4DB3 #4E2CB3
triadic
#2C4DB3 #B32C4D #4DB32C
tetradic
#2C4DB3 #B32C90 #B3922C #2CB34E
square
#2C4DB3 #B32C90 #B3922C #2CB34E
split-complementary
#2C4DB3 #B34E2C #90B32C
monochromatic
#142351 #203882 #2C4DB3 #4A6BD2 #7B93DF
Accessibility & contrast
On white
7.45
#2C4DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#2C4DB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4DB3
7.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4DB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4DB3 | 1.00 | 7.45 | 2.82 | 7.45 |
| #FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#004FB1
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2c4db3; /* rgb */ color: rgb(44, 77, 179); /* oklch */ color: oklch(45.9% 0.167 266.2);
Tailwind
colors: {
custom: {
50: '#797ecb',
500: '#2c4db3',
950: '#000000',
},
}SCSS
$custom: #2c4db3; $custom-light: #797ecb; $custom-dark: #000000;
JSON
{
"hex": "#2c4db3",
"rgb": {
"r": 44,
"g": 77,
"b": 179
},
"hsl": {
"h": 225.333,
"s": 60.538,
"l": 43.725
},
"oklch": {
"l": 0.45889,
"c": 0.16669,
"h": 266.2
},
"luminance": 0.09098
}Semantic roles & 50–950 ramp
primary
#2C4DB3
secondary
#C7B374
accent
#BD44E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82