#2C4BBA#2C4BBA
#2C4BBA is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.1% C 0.179 H 267.0°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4BBA |
|---|---|
| RGB | rgb(44, 75, 186) |
| HSL | hsl(227, 62%, 45%) |
| HSV | hsv(227, 76%, 73%) |
| CMYK | cmyk(76.3%, 59.7%, 0%, 27.1%) |
| CIE-LAB | lab(36.20, 28.70, -61.74) |
| CIE-LCH | lch(36.20, 68.08, 294.93°) |
| OKLab | oklab(46.08% -0.0093 -0.1783) |
| OKLCH | oklch(46.08% 0.179 267) |
| XYZ | xyz(12.4146, 9.1114, 47.5492) |
| Luminance | 0.0911 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.28
Sapphire
#0F52BA
ΔE00 3.79
Cobalt
#0047AB
ΔE00 3.85
Blue (survey)
#0343DF
ΔE00 5.06
Sapphire (survey)
#2138AB
ΔE00 5.90
Ocean Blue
#4F42B5
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4BBA #BA9B2C
analogous
#2C92BA #2C4BBA #542CBA
triadic
#2C4BBA #BA2C4B #4BBA2C
tetradic
#2C4BBA #BA2C92 #BA9B2C #2CBA54
square
#2C4BBA #BA2C92 #BA9B2C #2CBA54
split-complementary
#2C4BBA #BA542C #92BA2C
monochromatic
#152357 #203789 #2C4BBA #4E6CD5 #8095E1
Accessibility & contrast
On white
7.44
#2C4BBA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#2C4BBA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4BBA
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4BBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4BBA | 1.00 | 7.44 | 2.82 | 7.44 |
| #FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#004FB8
Tritanopia (blue-blind)
#00677B
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2c4bba; /* rgb */ color: rgb(44, 75, 186); /* oklch */ color: oklch(46.1% 0.179 267.0);
Tailwind
colors: {
custom: {
50: '#7b7cd0',
500: '#2c4bba',
950: '#000000',
},
}SCSS
$custom: #2c4bba; $custom-light: #7b7cd0; $custom-dark: #000000;
JSON
{
"hex": "#2c4bba",
"rgb": {
"r": 44,
"g": 75,
"b": 186
},
"hsl": {
"h": 226.901,
"s": 61.739,
"l": 45.098
},
"oklch": {
"l": 0.46084,
"c": 0.17859,
"h": 267
},
"luminance": 0.09113
}Semantic roles & 50–950 ramp
primary
#2C4BBA
secondary
#CAB878
accent
#C143E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82