#2C4CAE#2C4CAE
#2C4CAE is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.3% C 0.161 H 266.3°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4CAE |
|---|---|
| RGB | rgb(44, 76, 174) |
| HSL | hsl(225, 60%, 43%) |
| HSV | hsv(225, 75%, 68%) |
| CMYK | cmyk(74.7%, 56.3%, 0%, 31.8%) |
| CIE-LAB | lab(35.52, 23.52, -55.76) |
| CIE-LCH | lch(35.52, 60.52, 292.87°) |
| OKLab | oklab(45.28% -0.0105 -0.1608) |
| OKLCH | oklch(45.28% 0.161 266.3) |
| XYZ | xyz(11.2605, 8.7591, 41.1334) |
| Luminance | 0.0876 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.88
Sapphire
#0F52BA
ΔE00 3.35
Blue Blue
#2242C7
ΔE00 4.80
Cobalt (survey)
#1E488F
ΔE00 4.98
Dusk Blue
#26538D
ΔE00 6.11
Sapphire (survey)
#2138AB
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4CAE #AE8E2C
analogous
#2C8DAE #2C4CAE #4D2CAE
triadic
#2C4CAE #AE2C4C #4CAE2C
tetradic
#2C4CAE #AE2C8D #AE8E2C #2CAE4D
square
#2C4CAE #AE2C8D #AE8E2C #2CAE4D
split-complementary
#2C4CAE #AE4D2C #8DAE2C
monochromatic
#13214C #20377D #2C4CAE #4769D0 #7891DD
Accessibility & contrast
On white
7.63
#2C4CAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#2C4CAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4CAE
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4CAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4CAE | 1.00 | 7.63 | 2.75 | 7.63 |
| #FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#006475
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2c4cae; /* rgb */ color: rgb(44, 76, 174); /* oklch */ color: oklch(45.3% 0.161 266.3);
Tailwind
colors: {
custom: {
50: '#787dc7',
500: '#2c4cae',
950: '#000000',
},
}SCSS
$custom: #2c4cae; $custom-light: #787dc7; $custom-dark: #000000;
JSON
{
"hex": "#2c4cae",
"rgb": {
"r": 44,
"g": 76,
"b": 174
},
"hsl": {
"h": 225.231,
"s": 59.633,
"l": 42.745
},
"oklch": {
"l": 0.45277,
"c": 0.1611,
"h": 266.3
},
"luminance": 0.0876
}Semantic roles & 50–950 ramp
primary
#2C4CAE
secondary
#C5B071
accent
#BC45E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82