#2C4FAE#2C4FAE
#2C4FAE is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.9% C 0.157 H 265.3°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4FAE |
|---|---|
| RGB | rgb(44, 79, 174) |
| HSL | hsl(224, 60%, 43%) |
| HSV | hsv(224, 75%, 68%) |
| CMYK | cmyk(74.7%, 54.6%, 0%, 31.8%) |
| CIE-LAB | lab(36.33, 21.53, -54.43) |
| CIE-LCH | lch(36.33, 58.54, 291.58°) |
| OKLab | oklab(45.89% -0.0128 -0.1568) |
| OKLCH | oklch(45.89% 0.157 265.3) |
| XYZ | xyz(11.4720, 9.1822, 41.2039) |
| Luminance | 0.0918 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.60
Cobalt
#0047AB
ΔE00 3.21
Cobalt (survey)
#1E488F
ΔE00 4.97
Dusk Blue
#26538D
ΔE00 5.47
Blue Blue
#2242C7
ΔE00 5.59
Denim Blue
#3B5B92
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4FAE #AE8B2C
analogous
#2C90AE #2C4FAE #4A2CAE
triadic
#2C4FAE #AE2C4F #4FAE2C
tetradic
#2C4FAE #AE2C90 #AE8B2C #2CAE4A
square
#2C4FAE #AE2C90 #AE8B2C #2CAE4A
split-complementary
#2C4FAE #AE4A2C #90AE2C
monochromatic
#13234C #20397D #2C4FAE #476CD0 #7893DD
Accessibility & contrast
On white
7.40
#2C4FAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#2C4FAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4FAE
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4FAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4FAE | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB1
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#006676
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2c4fae; /* rgb */ color: rgb(44, 79, 174); /* oklch */ color: oklch(45.9% 0.157 265.3);
Tailwind
colors: {
custom: {
50: '#787fc7',
500: '#2c4fae',
950: '#000000',
},
}SCSS
$custom: #2c4fae; $custom-light: #787fc7; $custom-dark: #000000;
JSON
{
"hex": "#2c4fae",
"rgb": {
"r": 44,
"g": 79,
"b": 174
},
"hsl": {
"h": 223.846,
"s": 59.633,
"l": 42.745
},
"oklch": {
"l": 0.45893,
"c": 0.15733,
"h": 265.3
},
"luminance": 0.09183
}Semantic roles & 50–950 ramp
primary
#2C4FAE
secondary
#C5AE71
accent
#B845E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82