#2C4EB9#2C4EB9
#2C4EB9 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.6% C 0.174 H 266.2°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4EB9 |
|---|---|
| RGB | rgb(44, 78, 185) |
| HSL | hsl(226, 62%, 45%) |
| HSV | hsv(226, 76%, 73%) |
| CMYK | cmyk(76.2%, 57.8%, 0%, 27.5%) |
| CIE-LAB | lab(36.90, 26.35, -60.00) |
| CIE-LCH | lch(36.90, 65.54, 293.71°) |
| OKLab | oklab(46.59% -0.0114 -0.1732) |
| OKLCH | oklch(46.59% 0.174 266.2) |
| XYZ | xyz(12.5170, 9.4856, 47.0608) |
| Luminance | 0.0949 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.92
Cobalt
#0047AB
ΔE00 3.84
Blue Blue
#2242C7
ΔE00 4.25
Blue (survey)
#0343DF
ΔE00 5.70
Cobalt (survey)
#1E488F
ΔE00 6.40
Warm Blue
#4B57DB
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4EB9 #B9972C
analogous
#2C94B9 #2C4EB9 #512CB9
triadic
#2C4EB9 #B92C4E #4EB92C
tetradic
#2C4EB9 #B92C94 #B9972C #2CB951
square
#2C4EB9 #B92C94 #B9972C #2CB951
split-complementary
#2C4EB9 #B9512C #94B92C
monochromatic
#142456 #203988 #2C4EB9 #4D6ED5 #7F96E1
Accessibility & contrast
On white
7.25
#2C4EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#2C4EB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4EB9
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4EB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4EB9 | 1.00 | 7.25 | 2.90 | 7.25 |
| #FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#0051B7
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2c4eb9; /* rgb */ color: rgb(44, 78, 185); /* oklch */ color: oklch(46.6% 0.174 266.2);
Tailwind
colors: {
custom: {
50: '#7a7fcf',
500: '#2c4eb9',
950: '#000000',
},
}SCSS
$custom: #2c4eb9; $custom-light: #7a7fcf; $custom-dark: #000000;
JSON
{
"hex": "#2c4eb9",
"rgb": {
"r": 44,
"g": 78,
"b": 185
},
"hsl": {
"h": 225.532,
"s": 61.572,
"l": 44.902
},
"oklch": {
"l": 0.46586,
"c": 0.17358,
"h": 266.2
},
"luminance": 0.09487
}Semantic roles & 50–950 ramp
primary
#2C4EB9
secondary
#C9B678
accent
#BE43E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82