#2C4EBA#2C4EBA
#2C4EBA is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.7% C 0.175 H 266.3°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4EBA |
|---|---|
| RGB | rgb(44, 78, 186) |
| HSL | hsl(226, 62%, 45%) |
| HSV | hsv(226, 76%, 73%) |
| CMYK | cmyk(76.3%, 58.1%, 0%, 27.1%) |
| CIE-LAB | lab(36.98, 26.73, -60.46) |
| CIE-LCH | lch(36.98, 66.11, 293.85°) |
| OKLab | oklab(46.67% -0.0114 -0.1745) |
| OKLCH | oklch(46.67% 0.175 266.3) |
| XYZ | xyz(12.6229, 9.5280, 47.6187) |
| Luminance | 0.0953 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.97
Cobalt
#0047AB
ΔE00 3.93
Blue Blue
#2242C7
ΔE00 4.17
Blue (survey)
#0343DF
ΔE00 5.58
Cobalt (survey)
#1E488F
ΔE00 6.53
Warm Blue
#4B57DB
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4EBA #BA982C
analogous
#2C95BA #2C4EBA #512CBA
triadic
#2C4EBA #BA2C4E #4EBA2C
tetradic
#2C4EBA #BA2C95 #BA982C #2CBA51
square
#2C4EBA #BA2C95 #BA982C #2CBA51
split-complementary
#2C4EBA #BA512C #95BA2C
monochromatic
#152457 #203989 #2C4EBA #4E6ED5 #8097E1
Accessibility & contrast
On white
7.23
#2C4EBA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#2C4EBA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4EBA
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4EBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4EBA | 1.00 | 7.23 | 2.91 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#0051B8
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2c4eba; /* rgb */ color: rgb(44, 78, 186); /* oklch */ color: oklch(46.7% 0.175 266.3);
Tailwind
colors: {
custom: {
50: '#7a7fd0',
500: '#2c4eba',
950: '#000000',
},
}SCSS
$custom: #2c4eba; $custom-light: #7a7fd0; $custom-dark: #000000;
JSON
{
"hex": "#2c4eba",
"rgb": {
"r": 44,
"g": 78,
"b": 186
},
"hsl": {
"h": 225.634,
"s": 61.739,
"l": 45.098
},
"oklch": {
"l": 0.46669,
"c": 0.17492,
"h": 266.3
},
"luminance": 0.09529
}Semantic roles & 50–950 ramp
primary
#2C4EBA
secondary
#CAB678
accent
#BE43E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82