#2C4DBD#2C4DBD
#2C4DBD is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.7% C 0.180 H 266.6°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4DBD |
|---|---|
| RGB | rgb(44, 77, 189) |
| HSL | hsl(226, 62%, 46%) |
| HSV | hsv(226, 77%, 74%) |
| CMYK | cmyk(76.7%, 59.3%, 0%, 25.9%) |
| CIE-LAB | lab(36.96, 28.51, -62.26) |
| CIE-LCH | lch(36.96, 68.48, 294.61°) |
| OKLab | oklab(46.73% -0.0106 -0.1798) |
| OKLCH | oklch(46.73% 0.18 266.6) |
| XYZ | xyz(12.8747, 9.5159, 49.2925) |
| Luminance | 0.0952 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.39
Blue Blue
#2242C7
ΔE00 3.65
Cobalt
#0047AB
ΔE00 4.18
Blue (survey)
#0343DF
ΔE00 5.03
Warm Blue
#4B57DB
ΔE00 6.33
Ocean Blue
#4F42B5
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4DBD #BD9C2C
analogous
#2C95BD #2C4DBD #532CBD
triadic
#2C4DBD #BD2C4D #4DBD2C
tetradic
#2C4DBD #BD2C95 #BD9C2C #2CBD53
square
#2C4DBD #BD2C95 #BD9C2C #2CBD53
split-complementary
#2C4DBD #BD532C #95BD2C
monochromatic
#15255A #20398B #2C4DBD #506FD6 #8297E2
Accessibility & contrast
On white
7.23
#2C4DBD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#2C4DBD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4DBD
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4DBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4DBD | 1.00 | 7.23 | 2.90 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#0050BB
Tritanopia (blue-blind)
#00697D
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2c4dbd; /* rgb */ color: rgb(44, 77, 189); /* oklch */ color: oklch(46.7% 0.180 266.6);
Tailwind
colors: {
custom: {
50: '#7b7ed2',
500: '#2c4dbd',
950: '#000000',
},
}SCSS
$custom: #2c4dbd; $custom-light: #7b7ed2; $custom-dark: #000000;
JSON
{
"hex": "#2c4dbd",
"rgb": {
"r": 44,
"g": 77,
"b": 189
},
"hsl": {
"h": 226.345,
"s": 62.232,
"l": 45.686
},
"oklch": {
"l": 0.46727,
"c": 0.18015,
"h": 266.6
},
"luminance": 0.09517
}Semantic roles & 50–950 ramp
primary
#2C4DBD
secondary
#CBB87A
accent
#C042E5
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83