#2C58A2#2C58A2
#2C58A2 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 46.9% C 0.129 H 260.2°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2C58A2 |
|---|---|
| RGB | rgb(44, 88, 162) |
| HSL | hsl(218, 57%, 40%) |
| HSV | hsv(218, 73%, 64%) |
| CMYK | cmyk(72.8%, 45.7%, 0%, 36.5%) |
| CIE-LAB | lab(38.06, 10.99, -44.50) |
| CIE-LCH | lch(38.06, 45.84, 283.87°) |
| OKLab | oklab(46.95% -0.0221 -0.1274) |
| OKLCH | oklch(46.95% 0.129 260.2) |
| XYZ | xyz(11.0477, 10.1224, 35.5470) |
| Luminance | 0.1012 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.70
Dusk Blue
#26538D
ΔE00 3.15
Sapphire
#0F52BA
ΔE00 3.61
Light Navy Blue
#2E5A88
ΔE00 3.73
Denim
#1560BD
ΔE00 4.29
Dusky Blue
#475F94
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C58A2 #A2762C
analogous
#2C93A2 #2C58A2 #3B2CA2
triadic
#2C58A2 #A22C58 #58A22C
tetradic
#2C58A2 #A22C93 #A2762C #2CA23B
square
#2C58A2 #A22C93 #A2762C #2CA23B
split-complementary
#2C58A2 #A23B2C #93A22C
monochromatic
#122442 #1F3E72 #2C58A2 #4074CB #7097D8
Accessibility & contrast
On white
6.94
#2C58A2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#2C58A2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C58A2
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C58A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C58A2 | 1.00 | 6.94 | 3.02 | 6.94 |
| #FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#335FA5
Deuteranopia (green-blind)
#1B55A0
Tritanopia (blue-blind)
#006975
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2c58a2; /* rgb */ color: rgb(44, 88, 162); /* oklch */ color: oklch(46.9% 0.129 260.2);
Tailwind
colors: {
custom: {
50: '#7586be',
500: '#2c58a2',
950: '#000000',
},
}SCSS
$custom: #2c58a2; $custom-light: #7586be; $custom-dark: #000000;
JSON
{
"hex": "#2c58a2",
"rgb": {
"r": 44,
"g": 88,
"b": 162
},
"hsl": {
"h": 217.627,
"s": 57.282,
"l": 40.392
},
"oklch": {
"l": 0.46949,
"c": 0.12935,
"h": 260.2
},
"luminance": 0.10124
}Semantic roles & 50–950 ramp
primary
#2C58A2
secondary
#BFA06A
accent
#A747E1
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81