#2C4BA6#2C4BA6
#2C4BA6 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.4% C 0.151 H 266.1°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4BA6 |
|---|---|
| RGB | rgb(44, 75, 166) |
| HSL | hsl(225, 58%, 41%) |
| HSV | hsv(225, 73%, 65%) |
| CMYK | cmyk(73.5%, 54.8%, 0%, 34.9%) |
| CIE-LAB | lab(34.64, 21.14, -52.41) |
| CIE-LCH | lch(34.64, 56.52, 291.97°) |
| OKLab | oklab(44.43% -0.0102 -0.1509) |
| OKLCH | oklch(44.43% 0.151 266.1) |
| XYZ | xyz(10.4353, 8.3197, 37.1249) |
| Luminance | 0.0832 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.63
Sapphire
#0F52BA
ΔE00 3.92
Cobalt (survey)
#1E488F
ΔE00 3.96
Dusk Blue
#26538D
ΔE00 5.52
Blue Blue
#2242C7
ΔE00 5.57
Sapphire (survey)
#2138AB
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4BA6 #A6872C
analogous
#2C88A6 #2C4BA6 #4A2CA6
triadic
#2C4BA6 #A62C4B #4BA62C
tetradic
#2C4BA6 #A62C88 #A6872C #2CA64A
square
#2C4BA6 #A62C88 #A6872C #2CA64A
split-complementary
#2C4BA6 #A64A2C #88A62C
monochromatic
#121F45 #1F3576 #2C4BA6 #4265CD #738DDA
Accessibility & contrast
On white
7.88
#2C4BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#2C4BA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4BA6
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4BA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4BA6 | 1.00 | 7.88 | 2.66 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#004CA4
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2c4ba6; /* rgb */ color: rgb(44, 75, 166); /* oklch */ color: oklch(44.4% 0.151 266.1);
Tailwind
colors: {
custom: {
50: '#767cc1',
500: '#2c4ba6',
950: '#000000',
},
}SCSS
$custom: #2c4ba6; $custom-light: #767cc1; $custom-dark: #000000;
JSON
{
"hex": "#2c4ba6",
"rgb": {
"r": 44,
"g": 75,
"b": 166
},
"hsl": {
"h": 224.754,
"s": 58.095,
"l": 41.176
},
"oklch": {
"l": 0.44426,
"c": 0.15128,
"h": 266.1
},
"luminance": 0.08321
}Semantic roles & 50–950 ramp
primary
#2C4BA6
secondary
#C1AC6D
accent
#BA46E1
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0912
muted
#7C7B81