#2C4FB1#2C4FB1
#2C4FB1 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.1% C 0.161 H 265.5°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4FB1 |
|---|---|
| RGB | rgb(44, 79, 177) |
| HSL | hsl(224, 60%, 43%) |
| HSV | hsv(224, 75%, 69%) |
| CMYK | cmyk(75.1%, 55.4%, 0%, 30.6%) |
| CIE-LAB | lab(36.56, 22.67, -55.85) |
| CIE-LCH | lch(36.56, 60.27, 292.09°) |
| OKLab | oklab(46.13% -0.0126 -0.161) |
| OKLCH | oklch(46.13% 0.161 265.5) |
| XYZ | xyz(11.7677, 9.3005, 42.7614) |
| Luminance | 0.0930 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.54
Cobalt
#0047AB
ΔE00 3.34
Blue Blue
#2242C7
ΔE00 5.28
Cobalt (survey)
#1E488F
ΔE00 5.35
Dusk Blue
#26538D
ΔE00 5.83
Denim Blue
#3B5B92
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4FB1 #B18E2C
analogous
#2C91B1 #2C4FB1 #4C2CB1
triadic
#2C4FB1 #B12C4F #4FB12C
tetradic
#2C4FB1 #B12C91 #B18E2C #2CB14C
square
#2C4FB1 #B12C91 #B18E2C #2CB14C
split-complementary
#2C4FB1 #B14C2C #91B12C
monochromatic
#14234F #203980 #2C4FB1 #496DD2 #7A94DE
Accessibility & contrast
On white
7.34
#2C4FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#2C4FB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4FB1
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4FB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4FB1 | 1.00 | 7.34 | 2.86 | 7.34 |
| #FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB4
Deuteranopia (green-blind)
#0050AF
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2c4fb1; /* rgb */ color: rgb(44, 79, 177); /* oklch */ color: oklch(46.1% 0.161 265.5);
Tailwind
colors: {
custom: {
50: '#787fc9',
500: '#2c4fb1',
950: '#000000',
},
}SCSS
$custom: #2c4fb1; $custom-light: #787fc9; $custom-dark: #000000;
JSON
{
"hex": "#2c4fb1",
"rgb": {
"r": 44,
"g": 79,
"b": 177
},
"hsl": {
"h": 224.211,
"s": 60.181,
"l": 43.333
},
"oklch": {
"l": 0.46132,
"c": 0.16146,
"h": 265.5
},
"luminance": 0.09302
}Semantic roles & 50–950 ramp
primary
#2C4FB1
secondary
#C6B073
accent
#BA44E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82