#40839F#40839F
#40839F is a mid, moderate cyan. Relative luminance 0.198; OKLCH L 57.8% C 0.080 H 227.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #40839F |
|---|---|
| RGB | rgb(64, 131, 159) |
| HSL | hsl(198, 43%, 44%) |
| HSV | hsv(198, 60%, 62%) |
| CMYK | cmyk(59.7%, 17.6%, 0%, 37.6%) |
| CIE-LAB | lab(51.64, -12.70, -21.36) |
| CIE-LCH | lch(51.64, 24.85, 239.27°) |
| OKLab | oklab(57.78% -0.0538 -0.0595) |
| OKLCH | oklch(57.78% 0.08 227.9) |
| XYZ | xyz(16.4862, 19.8242, 35.7518) |
| Luminance | 0.1983 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 0.55
Cerulean
#007BA7
ΔE00 5.57
Teal Blue
#01889F
ΔE00 5.75
Stormy Blue
#507B9C
ΔE00 5.91
Greyish Blue
#5E819D
ΔE00 6.22
Ocean
#017B92
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40839F #9F5C40
analogous
#409F8B #40839F #40539F
triadic
#40839F #9F4083 #839F40
tetradic
#40839F #8B409F #9F5C40 #539F40
square
#40839F #8B409F #9F5C40 #539F40
split-complementary
#40839F #9F4053 #9F8B40
monochromatic
#1D3B48 #2E5F73 #40839F #5EA2BE #8ABBD0
Accessibility & contrast
On white
4.23
#40839F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#40839F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #40839F
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40839F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##40839F | 1.00 | 4.23 | 4.97 | 4.97 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7481A0
Deuteranopia (green-blind)
#67779F
Tritanopia (blue-blind)
#008B8C
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #40839f; /* rgb */ color: rgb(64, 131, 159); /* oklch */ color: oklch(57.8% 0.080 227.9);
Tailwind
colors: {
custom: {
50: '#7ea7bb',
500: '#40839f',
950: '#000000',
},
}SCSS
$custom: #40839f; $custom-light: #7ea7bb; $custom-dark: #000000;
JSON
{
"hex": "#40839f",
"rgb": {
"r": 64,
"g": 131,
"b": 159
},
"hsl": {
"h": 197.684,
"s": 42.601,
"l": 43.725
},
"oklch": {
"l": 0.57784,
"c": 0.08023,
"h": 227.9
},
"luminance": 0.19826
}Semantic roles & 50–950 ramp
primary
#40839F
secondary
#BB9180
accent
#7A55D2
background
#F8FAFB
surface
#EFF4F6
border
#CACED0
text
#0A0F11
muted
#7C7F80