#2C4FB5#2C4FB5
#2C4FB5 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.5% C 0.167 H 265.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4FB5 |
|---|---|
| RGB | rgb(44, 79, 181) |
| HSL | hsl(225, 61%, 44%) |
| HSV | hsv(225, 76%, 71%) |
| CMYK | cmyk(75.7%, 56.4%, 0%, 29%) |
| CIE-LAB | lab(36.86, 24.18, -57.72) |
| CIE-LCH | lch(36.86, 62.58, 292.73°) |
| OKLab | oklab(46.46% -0.0123 -0.1665) |
| OKLCH | oklch(46.46% 0.167 265.8) |
| XYZ | xyz(12.1722, 9.4623, 44.8920) |
| Luminance | 0.0946 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.55
Cobalt
#0047AB
ΔE00 3.60
Blue Blue
#2242C7
ΔE00 4.89
Cobalt (survey)
#1E488F
ΔE00 5.87
Denim Blue
#3B5B92
ΔE00 6.27
Dusk Blue
#26538D
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4FB5 #B5922C
analogous
#2C94B5 #2C4FB5 #4E2CB5
triadic
#2C4FB5 #B52C4F #4FB52C
tetradic
#2C4FB5 #B52C94 #B5922C #2CB54E
square
#2C4FB5 #B52C94 #B5922C #2CB54E
split-complementary
#2C4FB5 #B54E2C #94B52C
monochromatic
#142453 #203A84 #2C4FB5 #4B6ED3 #7C95DF
Accessibility & contrast
On white
7.26
#2C4FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#2C4FB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4FB5
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4FB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4FB5 | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#0051B3
Tritanopia (blue-blind)
#00687A
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2c4fb5; /* rgb */ color: rgb(44, 79, 181); /* oklch */ color: oklch(46.5% 0.167 265.8);
Tailwind
colors: {
custom: {
50: '#797fcc',
500: '#2c4fb5',
950: '#000000',
},
}SCSS
$custom: #2c4fb5; $custom-light: #797fcc; $custom-dark: #000000;
JSON
{
"hex": "#2c4fb5",
"rgb": {
"r": 44,
"g": 79,
"b": 181
},
"hsl": {
"h": 224.672,
"s": 60.889,
"l": 44.118
},
"oklch": {
"l": 0.46456,
"c": 0.16693,
"h": 265.8
},
"luminance": 0.09464
}Semantic roles & 50–950 ramp
primary
#2C4FB5
secondary
#C8B375
accent
#BB44E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A13
muted
#7C7C82