#2C5AA6#2C5AA6
#2C5AA6 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.7% C 0.133 H 259.9°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2C5AA6 |
|---|---|
| RGB | rgb(44, 90, 166) |
| HSL | hsl(217, 58%, 41%) |
| HSV | hsv(217, 73%, 65%) |
| CMYK | cmyk(73.5%, 45.8%, 0%, 34.9%) |
| CIE-LAB | lab(38.90, 11.21, -45.55) |
| CIE-LCH | lch(38.90, 46.90, 283.83°) |
| OKLab | oklab(47.68% -0.0232 -0.1305) |
| OKLCH | oklch(47.68% 0.133 259.9) |
| XYZ | xyz(11.5753, 10.5997, 37.5049) |
| Luminance | 0.1060 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.95
Denim
#1560BD
ΔE00 3.53
Sapphire
#0F52BA
ΔE00 3.66
Dusk Blue
#26538D
ΔE00 3.81
Light Navy Blue
#2E5A88
ΔE00 3.95
Dusky Blue
#475F94
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C5AA6 #A6782C
analogous
#2C97A6 #2C5AA6 #3B2CA6
triadic
#2C5AA6 #A62C5A #5AA62C
tetradic
#2C5AA6 #A62C97 #A6782C #2CA63B
square
#2C5AA6 #A62C97 #A6782C #2CA63B
split-complementary
#2C5AA6 #A63B2C #97A62C
monochromatic
#122645 #1F4076 #2C5AA6 #4277CD #739ADA
Accessibility & contrast
On white
6.73
#2C5AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#2C5AA6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C5AA6
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C5AA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C5AA6 | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3362A9
Deuteranopia (green-blind)
#1A56A4
Tritanopia (blue-blind)
#006C78
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2c5aa6; /* rgb */ color: rgb(44, 90, 166); /* oklch */ color: oklch(47.7% 0.133 259.9);
Tailwind
colors: {
custom: {
50: '#7588c1',
500: '#2c5aa6',
950: '#000000',
},
}SCSS
$custom: #2c5aa6; $custom-light: #7588c1; $custom-dark: #000000;
JSON
{
"hex": "#2c5aa6",
"rgb": {
"r": 44,
"g": 90,
"b": 166
},
"hsl": {
"h": 217.377,
"s": 58.095,
"l": 41.176
},
"oklch": {
"l": 0.47676,
"c": 0.13251,
"h": 259.9
},
"luminance": 0.10601
}Semantic roles & 50–950 ramp
primary
#2C5AA6
secondary
#C1A16D
accent
#A746E1
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81