#3A5E8A#3A5E8A
#3A5E8A is a mid, moderate cyan. Relative luminance 0.107; OKLCH L 47.5% C 0.083 H 254.2°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #3A5E8A |
|---|---|
| RGB | rgb(58, 94, 138) |
| HSL | hsl(213, 41%, 38%) |
| HSV | hsv(213, 58%, 54%) |
| CMYK | cmyk(58%, 31.9%, 0%, 45.9%) |
| CIE-LAB | lab(39.14, 0.98, -28.32) |
| CIE-LCH | lch(39.14, 28.34, 271.97°) |
| OKLab | oklab(47.52% -0.0225 -0.0798) |
| OKLCH | oklch(47.52% 0.083 254.2) |
| XYZ | xyz(10.3335, 10.7391, 25.5681) |
| Luminance | 0.1074 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Light Navy Blue
#2E5A88
ΔE00 2.07
Denim (survey)
#3B638C
ΔE00 2.09
Denim Blue
#3B5B92
ΔE00 2.25
Dusky Blue
#475F94
ΔE00 3.59
Dusk Blue
#26538D
ΔE00 4.04
Ugly Blue
#31668A
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A5E8A #8A663A
analogous
#3A868A #3A5E8A #3E3A8A
triadic
#3A5E8A #8A3A5E #5E8A3A
tetradic
#3A5E8A #8A3A86 #8A663A #3A8A3E
square
#3A5E8A #8A3A86 #8A663A #3A8A3E
split-complementary
#3A5E8A #8A3E3A #868A3A
monochromatic
#162334 #28415F #3A5E8A #4D7BB4 #789BC6
Accessibility & contrast
On white
6.67
#3A5E8A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#3A5E8A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A5E8A
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A5E8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A5E8A | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C608C
Deuteranopia (green-blind)
#425989
Tritanopia (blue-blind)
#00686E
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3a5e8a; /* rgb */ color: rgb(58, 94, 138); /* oklch */ color: oklch(47.5% 0.083 254.2);
Tailwind
colors: {
custom: {
50: '#778bac',
500: '#3a5e8a',
950: '#000000',
},
}SCSS
$custom: #3a5e8a; $custom-light: #778bac; $custom-dark: #000000;
JSON
{
"hex": "#3a5e8a",
"rgb": {
"r": 58,
"g": 94,
"b": 138
},
"hsl": {
"h": 213,
"s": 40.816,
"l": 38.431
},
"oklch": {
"l": 0.4752,
"c": 0.08291,
"h": 254.2
},
"luminance": 0.1074
}Semantic roles & 50–950 ramp
primary
#3A5E8A
secondary
#B09370
accent
#9A57D1
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090C10
muted
#7B7D7F