#398AB1#398AB1
#398AB1 is a mid, moderate cyan. Relative luminance 0.222; OKLCH L 60.0% C 0.098 H 232.7°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #398AB1 |
|---|---|
| RGB | rgb(57, 138, 177) |
| HSL | hsl(200, 51%, 46%) |
| HSV | hsv(200, 68%, 69%) |
| CMYK | cmyk(67.8%, 22%, 0%, 30.6%) |
| CIE-LAB | lab(54.26, -11.99, -27.72) |
| CIE-LCH | lch(54.26, 30.20, 246.61°) |
| OKLab | oklab(60.05% -0.0593 -0.0777) |
| OKLCH | oklch(60.05% 0.098 232.7) |
| XYZ | xyz(18.7085, 22.2191, 44.8892) |
| Luminance | 0.2222 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 4.47
Steel Blue
#4682B4
ΔE00 5.71
Dusty Blue
#5A86AD
ΔE00 5.91
Cool Blue
#4984B8
ΔE00 5.96
Water Blue
#0E87CC
ΔE00 5.98
Off Blue
#5684AE
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#398AB1 #B16039
analogous
#39B19C #398AB1 #394EB1
triadic
#398AB1 #B1398A #8AB139
tetradic
#398AB1 #9C39B1 #B16039 #4EB139
square
#398AB1 #9C39B1 #B16039 #4EB139
split-complementary
#398AB1 #B1394E #B19C39
monochromatic
#1B4254 #2A6683 #398AB1 #5DA7CB #8BC0DA
Accessibility & contrast
On white
3.86
#398AB1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#398AB1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #398AB1
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##398AB1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##398AB1 | 1.00 | 3.86 | 5.44 | 5.44 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7788B3
Deuteranopia (green-blind)
#667CB0
Tritanopia (blue-blind)
#009497
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #398ab1; /* rgb */ color: rgb(57, 138, 177); /* oklch */ color: oklch(60.0% 0.098 232.7);
Tailwind
colors: {
custom: {
50: '#7dacc8',
500: '#398ab1',
950: '#000000',
},
}SCSS
$custom: #398ab1; $custom-light: #7dacc8; $custom-dark: #000000;
JSON
{
"hex": "#398ab1",
"rgb": {
"r": 57,
"g": 138,
"b": 177
},
"hsl": {
"h": 199.5,
"s": 51.282,
"l": 45.882
},
"oklch": {
"l": 0.60048,
"c": 0.0978,
"h": 232.7
},
"luminance": 0.22221
}Semantic roles & 50–950 ramp
primary
#398AB1
secondary
#C49782
accent
#7B4DDB
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82