#2C4AB3#2C4AB3
#2C4AB3 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.3% C 0.170 H 267.0°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4AB3 |
|---|---|
| RGB | rgb(44, 74, 179) |
| HSL | hsl(227, 61%, 44%) |
| HSV | hsv(227, 75%, 70%) |
| CMYK | cmyk(75.4%, 58.7%, 0%, 29.8%) |
| CIE-LAB | lab(35.37, 26.73, -58.96) |
| CIE-LCH | lch(35.37, 64.73, 294.39°) |
| OKLab | oklab(45.29% -0.0088 -0.1702) |
| OKLCH | oklch(45.29% 0.17 267) |
| XYZ | xyz(11.6213, 8.6864, 43.7033) |
| Luminance | 0.0869 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.22
Blue Blue
#2242C7
ΔE00 3.73
Sapphire
#0F52BA
ΔE00 3.90
Sapphire (survey)
#2138AB
ΔE00 5.47
Cobalt (survey)
#1E488F
ΔE00 5.77
Blue (survey)
#0343DF
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4AB3 #B3952C
analogous
#2C8DB3 #2C4AB3 #512CB3
triadic
#2C4AB3 #B32C4A #4AB32C
tetradic
#2C4AB3 #B32C8D #B3952C #2CB351
square
#2C4AB3 #B32C8D #B3952C #2CB351
split-complementary
#2C4AB3 #B3512C #8DB32C
monochromatic
#142151 #203682 #2C4AB3 #4A68D2 #7B91DF
Accessibility & contrast
On white
7.67
#2C4AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#2C4AB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4AB3
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4AB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4AB3 | 1.00 | 7.67 | 2.74 | 7.67 |
| #FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2c4ab3; /* rgb */ color: rgb(44, 74, 179); /* oklch */ color: oklch(45.3% 0.170 267.0);
Tailwind
colors: {
custom: {
50: '#797ccb',
500: '#2c4ab3',
950: '#000000',
},
}SCSS
$custom: #2c4ab3; $custom-light: #797ccb; $custom-dark: #000000;
JSON
{
"hex": "#2c4ab3",
"rgb": {
"r": 44,
"g": 74,
"b": 179
},
"hsl": {
"h": 226.667,
"s": 60.538,
"l": 43.725
},
"oklch": {
"l": 0.45293,
"c": 0.17041,
"h": 267
},
"luminance": 0.08688
}Semantic roles & 50–950 ramp
primary
#2C4AB3
secondary
#C7B474
accent
#C044E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82