#2C4EB2#2C4EB2
#2C4EB2 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.0% C 0.164 H 265.9°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4EB2 |
|---|---|
| RGB | rgb(44, 78, 178) |
| HSL | hsl(225, 60%, 44%) |
| HSV | hsv(225, 75%, 70%) |
| CMYK | cmyk(75.3%, 56.2%, 0%, 30.2%) |
| CIE-LAB | lab(36.36, 23.71, -56.76) |
| CIE-LCH | lch(36.36, 61.51, 292.67°) |
| OKLab | oklab(46.01% -0.0118 -0.1637) |
| OKLCH | oklch(46.01% 0.164 265.9) |
| XYZ | xyz(11.7962, 9.1973, 43.2644) |
| Luminance | 0.0920 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.77
Cobalt
#0047AB
ΔE00 3.28
Blue Blue
#2242C7
ΔE00 4.89
Cobalt (survey)
#1E488F
ΔE00 5.47
Dusk Blue
#26538D
ΔE00 6.13
Denim Blue
#3B5B92
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4EB2 #B2902C
analogous
#2C91B2 #2C4EB2 #4D2CB2
triadic
#2C4EB2 #B22C4E #4EB22C
tetradic
#2C4EB2 #B22C91 #B2902C #2CB24D
square
#2C4EB2 #B22C91 #B2902C #2CB24D
split-complementary
#2C4EB2 #B24D2C #91B22C
monochromatic
#142350 #203881 #2C4EB2 #496CD2 #7A94DE
Accessibility & contrast
On white
7.39
#2C4EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#2C4EB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4EB2
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4EB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4EB2 | 1.00 | 7.39 | 2.84 | 7.39 |
| #FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2c4eb2; /* rgb */ color: rgb(44, 78, 178); /* oklch */ color: oklch(46.0% 0.164 265.9);
Tailwind
colors: {
custom: {
50: '#797fca',
500: '#2c4eb2',
950: '#000000',
},
}SCSS
$custom: #2c4eb2; $custom-light: #797fca; $custom-dark: #000000;
JSON
{
"hex": "#2c4eb2",
"rgb": {
"r": 44,
"g": 78,
"b": 178
},
"hsl": {
"h": 224.776,
"s": 60.36,
"l": 43.529
},
"oklch": {
"l": 0.46009,
"c": 0.16408,
"h": 265.9
},
"luminance": 0.09199
}Semantic roles & 50–950 ramp
primary
#2C4EB2
secondary
#C6B173
accent
#BB44E4
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82