#2C5AA2#2C5AA2
#2C5AA2 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.4% C 0.127 H 259.1°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2C5AA2 |
|---|---|
| RGB | rgb(44, 90, 162) |
| HSL | hsl(217, 57%, 40%) |
| HSV | hsv(217, 73%, 64%) |
| CMYK | cmyk(72.8%, 44.4%, 0%, 36.5%) |
| CIE-LAB | lab(38.65, 9.68, -43.57) |
| CIE-LCH | lch(38.65, 44.63, 282.53°) |
| OKLab | oklab(47.4% -0.024 -0.1246) |
| OKLCH | oklch(47.4% 0.127 259.1) |
| XYZ | xyz(11.2141, 10.4552, 35.6025) |
| Luminance | 0.1046 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.65
Dusk Blue
#26538D
ΔE00 3.39
Light Navy Blue
#2E5A88
ΔE00 3.49
Denim
#1560BD
ΔE00 3.77
Sapphire
#0F52BA
ΔE00 4.01
Denim (survey)
#3B638C
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C5AA2 #A2742C
analogous
#2C95A2 #2C5AA2 #392CA2
triadic
#2C5AA2 #A22C5A #5AA22C
tetradic
#2C5AA2 #A22C95 #A2742C #2CA239
square
#2C5AA2 #A22C95 #A2742C #2CA239
split-complementary
#2C5AA2 #A2392C #95A22C
monochromatic
#122542 #1F3F72 #2C5AA2 #4076CB #7099D8
Accessibility & contrast
On white
6.79
#2C5AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#2C5AA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C5AA2
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C5AA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C5AA2 | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3661A5
Deuteranopia (green-blind)
#2156A1
Tritanopia (blue-blind)
#006B76
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2c5aa2; /* rgb */ color: rgb(44, 90, 162); /* oklch */ color: oklch(47.4% 0.127 259.1);
Tailwind
colors: {
custom: {
50: '#7588be',
500: '#2c5aa2',
950: '#000000',
},
}SCSS
$custom: #2c5aa2; $custom-light: #7588be; $custom-dark: #000000;
JSON
{
"hex": "#2c5aa2",
"rgb": {
"r": 44,
"g": 90,
"b": 162
},
"hsl": {
"h": 216.61,
"s": 57.282,
"l": 40.392
},
"oklch": {
"l": 0.47402,
"c": 0.12693,
"h": 259.1
},
"luminance": 0.10456
}Semantic roles & 50–950 ramp
primary
#2C5AA2
secondary
#BF9E6A
accent
#A547E1
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81