#2C4FB6#2C4FB6
#2C4FB6 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.5% C 0.168 H 265.8°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4FB6 |
|---|---|
| RGB | rgb(44, 79, 182) |
| HSL | hsl(225, 61%, 44%) |
| HSV | hsv(225, 76%, 71%) |
| CMYK | cmyk(75.8%, 56.6%, 0%, 28.6%) |
| CIE-LAB | lab(36.94, 24.56, -58.18) |
| CIE-LCH | lch(36.94, 63.16, 292.89°) |
| OKLab | oklab(46.54% -0.0123 -0.1678) |
| OKLCH | oklch(46.54% 0.168 265.8) |
| XYZ | xyz(12.2752, 9.5035, 45.4343) |
| Luminance | 0.0950 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.57
Cobalt
#0047AB
ΔE00 3.68
Blue Blue
#2242C7
ΔE00 4.80
Cobalt (survey)
#1E488F
ΔE00 6.00
Blue (survey)
#0343DF
ΔE00 6.25
Denim Blue
#3B5B92
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4FB6 #B6932C
analogous
#2C94B6 #2C4FB6 #4E2CB6
triadic
#2C4FB6 #B62C4F #4FB62C
tetradic
#2C4FB6 #B62C94 #B6932C #2CB64E
square
#2C4FB6 #B62C94 #B6932C #2CB64E
split-complementary
#2C4FB6 #B64E2C #94B62C
monochromatic
#142453 #203A85 #2C4FB6 #4C6ED4 #7D96E0
Accessibility & contrast
On white
7.24
#2C4FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#2C4FB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4FB6
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4FB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4FB6 | 1.00 | 7.24 | 2.90 | 7.24 |
| #FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBA
Deuteranopia (green-blind)
#0051B4
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2c4fb6; /* rgb */ color: rgb(44, 79, 182); /* oklch */ color: oklch(46.5% 0.168 265.8);
Tailwind
colors: {
custom: {
50: '#797fcd',
500: '#2c4fb6',
950: '#000000',
},
}SCSS
$custom: #2c4fb6; $custom-light: #797fcd; $custom-dark: #000000;
JSON
{
"hex": "#2c4fb6",
"rgb": {
"r": 44,
"g": 79,
"b": 182
},
"hsl": {
"h": 224.783,
"s": 61.062,
"l": 44.314
},
"oklch": {
"l": 0.46538,
"c": 0.16829,
"h": 265.8
},
"luminance": 0.09505
}Semantic roles & 50–950 ramp
primary
#2C4FB6
secondary
#C8B376
accent
#BB44E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82