#2C4CAC#2C4CAC
#2C4CAC is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.1% C 0.158 H 266.2°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4CAC |
|---|---|
| RGB | rgb(44, 76, 172) |
| HSL | hsl(225, 59%, 42%) |
| HSV | hsv(225, 74%, 67%) |
| CMYK | cmyk(74.4%, 55.8%, 0%, 32.5%) |
| CIE-LAB | lab(35.36, 22.76, -54.82) |
| CIE-LCH | lch(35.36, 59.35, 292.55°) |
| OKLab | oklab(45.12% -0.0106 -0.158) |
| OKLCH | oklch(45.12% 0.158 266.2) |
| XYZ | xyz(11.0669, 8.6817, 40.1142) |
| Luminance | 0.0868 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.79
Sapphire
#0F52BA
ΔE00 3.40
Cobalt (survey)
#1E488F
ΔE00 4.71
Blue Blue
#2242C7
ΔE00 5.04
Dusk Blue
#26538D
ΔE00 5.89
Sapphire (survey)
#2138AB
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4CAC #AC8C2C
analogous
#2C8CAC #2C4CAC #4C2CAC
triadic
#2C4CAC #AC2C4C #4CAC2C
tetradic
#2C4CAC #AC2C8C #AC8C2C #2CAC4C
square
#2C4CAC #AC2C8C #AC8C2C #2CAC4C
split-complementary
#2C4CAC #AC4C2C #8CAC2C
monochromatic
#13214B #20367B #2C4CAC #4668D0 #7690DC
Accessibility & contrast
On white
7.67
#2C4CAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#2C4CAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4CAC
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4CAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4CAC | 1.00 | 7.67 | 2.74 | 7.67 |
| #FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#004EAA
Tritanopia (blue-blind)
#006474
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2c4cac; /* rgb */ color: rgb(44, 76, 172); /* oklch */ color: oklch(45.1% 0.158 266.2);
Tailwind
colors: {
custom: {
50: '#777dc5',
500: '#2c4cac',
950: '#000000',
},
}SCSS
$custom: #2c4cac; $custom-light: #777dc5; $custom-dark: #000000;
JSON
{
"hex": "#2c4cac",
"rgb": {
"r": 44,
"g": 76,
"b": 172
},
"hsl": {
"h": 225,
"s": 59.259,
"l": 42.353
},
"oklch": {
"l": 0.45115,
"c": 0.15835,
"h": 266.2
},
"luminance": 0.08683
}Semantic roles & 50–950 ramp
primary
#2C4CAC
secondary
#C4AF70
accent
#BB45E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82