#398AB2#398AB2
#398AB2 is a mid, moderate cyan. Relative luminance 0.223; OKLCH L 60.1% C 0.099 H 233.3°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #398AB2 |
|---|---|
| RGB | rgb(57, 138, 178) |
| HSL | hsl(200, 51%, 46%) |
| HSV | hsv(200, 68%, 70%) |
| CMYK | cmyk(68%, 22.5%, 0%, 30.2%) |
| CIE-LAB | lab(54.30, -11.65, -28.22) |
| CIE-LCH | lch(54.30, 30.54, 247.57°) |
| OKLab | oklab(60.1% -0.059 -0.0792) |
| OKLCH | oklch(60.1% 0.099 233.3) |
| XYZ | xyz(18.8085, 22.2591, 45.4160) |
| Luminance | 0.2226 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 4.71
Steel Blue
#4682B4
ΔE00 5.47
Water Blue
#0E87CC
ΔE00 5.66
Cool Blue
#4984B8
ΔE00 5.70
Dusty Blue
#5A86AD
ΔE00 5.75
Off Blue
#5684AE
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#398AB2 #B26139
analogous
#39B29D #398AB2 #394DB2
triadic
#398AB2 #B2398A #8AB239
tetradic
#398AB2 #9D39B2 #B26139 #4DB239
square
#398AB2 #9D39B2 #B26139 #4DB239
split-complementary
#398AB2 #B2394D #B29D39
monochromatic
#1B4255 #2A6684 #398AB2 #5DA7CB #8BC0DA
Accessibility & contrast
On white
3.85
#398AB2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.45
#398AB2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #398AB2
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##398AB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##398AB2 | 1.00 | 3.85 | 5.45 | 5.45 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7689B4
Deuteranopia (green-blind)
#667DB1
Tritanopia (blue-blind)
#009597
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #398ab2; /* rgb */ color: rgb(57, 138, 178); /* oklch */ color: oklch(60.1% 0.099 233.3);
Tailwind
colors: {
custom: {
50: '#7dacc9',
500: '#398ab2',
950: '#000000',
},
}SCSS
$custom: #398ab2; $custom-light: #7dacc9; $custom-dark: #000000;
JSON
{
"hex": "#398ab2",
"rgb": {
"r": 57,
"g": 138,
"b": 178
},
"hsl": {
"h": 199.835,
"s": 51.489,
"l": 46.078
},
"oklch": {
"l": 0.60095,
"c": 0.09874,
"h": 233.3
},
"luminance": 0.22261
}Semantic roles & 50–950 ramp
primary
#398AB2
secondary
#C49882
accent
#7C4DDB
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82