#2C5AA9#2C5AA9
#2C5AA9 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 47.9% C 0.137 H 260.4°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2C5AA9 |
|---|---|
| RGB | rgb(44, 90, 169) |
| HSL | hsl(218, 59%, 42%) |
| HSV | hsv(218, 74%, 66%) |
| CMYK | cmyk(74%, 46.7%, 0%, 33.7%) |
| CIE-LAB | lab(39.09, 12.35, -47.02) |
| CIE-LCH | lch(39.09, 48.61, 284.72°) |
| OKLab | oklab(47.89% -0.0227 -0.1348) |
| OKLCH | oklch(47.89% 0.137 260.4) |
| XYZ | xyz(11.8537, 10.7111, 38.9711) |
| Luminance | 0.1071 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 3.21
Denim
#1560BD
ΔE00 3.38
Sapphire
#0F52BA
ΔE00 3.42
Dusk Blue
#26538D
ΔE00 4.13
Light Navy Blue
#2E5A88
ΔE00 4.29
Dusky Blue
#475F94
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C5AA9 #A97B2C
analogous
#2C99A9 #2C5AA9 #3D2CA9
triadic
#2C5AA9 #A92C5A #5AA92C
tetradic
#2C5AA9 #A92C99 #A97B2C #2CA93D
square
#2C5AA9 #A92C99 #A97B2C #2CA93D
split-complementary
#2C5AA9 #A93D2C #99A92C
monochromatic
#132648 #1F4078 #2C5AA9 #4477CE #749ADB
Accessibility & contrast
On white
6.68
#2C5AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#2C5AA9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C5AA9
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C5AA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C5AA9 | 1.00 | 6.68 | 3.14 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3162AC
Deuteranopia (green-blind)
#1457A7
Tritanopia (blue-blind)
#006D79
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2c5aa9; /* rgb */ color: rgb(44, 90, 169); /* oklch */ color: oklch(47.9% 0.137 260.4);
Tailwind
colors: {
custom: {
50: '#7688c3',
500: '#2c5aa9',
950: '#000000',
},
}SCSS
$custom: #2c5aa9; $custom-light: #7688c3; $custom-dark: #000000;
JSON
{
"hex": "#2c5aa9",
"rgb": {
"r": 44,
"g": 90,
"b": 169
},
"hsl": {
"h": 217.92,
"s": 58.685,
"l": 41.765
},
"oklch": {
"l": 0.47885,
"c": 0.1367,
"h": 260.4
},
"luminance": 0.10712
}Semantic roles & 50–950 ramp
primary
#2C5AA9
secondary
#C3A46E
accent
#A846E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81