#2C4FB3#2C4FB3
#2C4FB3 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.3% C 0.164 H 265.7°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4FB3 |
|---|---|
| RGB | rgb(44, 79, 179) |
| HSL | hsl(224, 61%, 44%) |
| HSV | hsv(224, 75%, 70%) |
| CMYK | cmyk(75.4%, 55.9%, 0%, 29.8%) |
| CIE-LAB | lab(36.71, 23.43, -56.79) |
| CIE-LCH | lch(36.71, 61.43, 292.42°) |
| OKLab | oklab(46.29% -0.0124 -0.1637) |
| OKLCH | oklch(46.29% 0.164 265.7) |
| XYZ | xyz(11.9685, 9.3808, 43.8190) |
| Luminance | 0.0938 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.53
Cobalt
#0047AB
ΔE00 3.46
Blue Blue
#2242C7
ΔE00 5.08
Cobalt (survey)
#1E488F
ΔE00 5.61
Dusk Blue
#26538D
ΔE00 6.06
Denim Blue
#3B5B92
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4FB3 #B3902C
analogous
#2C92B3 #2C4FB3 #4C2CB3
triadic
#2C4FB3 #B32C4F #4FB32C
tetradic
#2C4FB3 #B32C92 #B3902C #2CB34C
square
#2C4FB3 #B32C92 #B3902C #2CB34C
split-complementary
#2C4FB3 #B34C2C #92B32C
monochromatic
#142451 #203982 #2C4FB3 #4A6DD2 #7B95DF
Accessibility & contrast
On white
7.30
#2C4FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#2C4FB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4FB3
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4FB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4FB3 | 1.00 | 7.30 | 2.88 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#0050B1
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2c4fb3; /* rgb */ color: rgb(44, 79, 179); /* oklch */ color: oklch(46.3% 0.164 265.7);
Tailwind
colors: {
custom: {
50: '#797fca',
500: '#2c4fb3',
950: '#000000',
},
}SCSS
$custom: #2c4fb3; $custom-light: #797fca; $custom-dark: #000000;
JSON
{
"hex": "#2c4fb3",
"rgb": {
"r": 44,
"g": 79,
"b": 179
},
"hsl": {
"h": 224.444,
"s": 60.538,
"l": 43.725
},
"oklch": {
"l": 0.46294,
"c": 0.1642,
"h": 265.7
},
"luminance": 0.09382
}Semantic roles & 50–950 ramp
primary
#2C4FB3
secondary
#C7B174
accent
#BA44E4
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82