#2C5EAA#2C5EAA
#2C5EAA is a mid, vivid blue. Relative luminance 0.114; OKLCH L 48.9% C 0.133 H 258.7°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2C5EAA |
|---|---|
| RGB | rgb(44, 94, 170) |
| HSL | hsl(216, 59%, 42%) |
| HSV | hsv(216, 74%, 67%) |
| CMYK | cmyk(74.1%, 44.7%, 0%, 33.3%) |
| CIE-LAB | lab(40.31, 10.13, -45.65) |
| CIE-LCH | lch(40.31, 46.76, 282.51°) |
| OKLab | oklab(48.85% -0.0261 -0.1307) |
| OKLCH | oklch(48.85% 0.133 258.7) |
| XYZ | xyz(12.2945, 11.4418, 39.5830) |
| Luminance | 0.1144 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.37
Denim Blue
#3B5B92
ΔE00 3.58
Denim (survey)
#3B638C
ΔE00 4.19
Light Navy Blue
#2E5A88
ΔE00 4.32
Sapphire
#0F52BA
ΔE00 4.50
Mid Blue
#276AB3
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C5EAA #AA782C
analogous
#2C9DAA #2C5EAA #392CAA
triadic
#2C5EAA #AA2C5E #5EAA2C
tetradic
#2C5EAA #AA2C9D #AA782C #2CAA39
square
#2C5EAA #AA2C9D #AA782C #2CAA39
split-complementary
#2C5EAA #AA392C #9DAA2C
monochromatic
#132849 #1F4379 #2C5EAA #447BCF #759EDB
Accessibility & contrast
On white
6.39
#2C5EAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#2C5EAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C5EAA
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C5EAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C5EAA | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3865AD
Deuteranopia (green-blind)
#1F5AA8
Tritanopia (blue-blind)
#00707B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2c5eaa; /* rgb */ color: rgb(44, 94, 170); /* oklch */ color: oklch(48.9% 0.133 258.7);
Tailwind
colors: {
custom: {
50: '#768bc4',
500: '#2c5eaa',
950: '#000000',
},
}SCSS
$custom: #2c5eaa; $custom-light: #768bc4; $custom-dark: #000000;
JSON
{
"hex": "#2c5eaa",
"rgb": {
"r": 44,
"g": 94,
"b": 170
},
"hsl": {
"h": 216.19,
"s": 58.879,
"l": 41.961
},
"oklch": {
"l": 0.4885,
"c": 0.13327,
"h": 258.7
},
"luminance": 0.11443
}Semantic roles & 50–950 ramp
primary
#2C5EAA
secondary
#C3A26F
accent
#A446E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82