#398AB5#398AB5
#398AB5 is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 60.2% C 0.102 H 235.3°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #398AB5 |
|---|---|
| RGB | rgb(57, 138, 181) |
| HSL | hsl(201, 52%, 47%) |
| HSV | hsv(201, 69%, 71%) |
| CMYK | cmyk(68.5%, 23.8%, 0%, 29%) |
| CIE-LAB | lab(54.43, -10.64, -29.74) |
| CIE-LCH | lch(54.43, 31.59, 250.31°) |
| OKLab | oklab(60.24% -0.0579 -0.0836) |
| OKLCH | oklch(60.24% 0.102 235.3) |
| XYZ | xyz(19.1130, 22.3809, 47.0198) |
| Luminance | 0.2238 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Water Blue
#0E87CC
ΔE00 4.74
Steel Blue
#4682B4
ΔE00 4.83
Cool Blue
#4984B8
ΔE00 4.99
Dusty Blue
#5A86AD
ΔE00 5.35
Dirty Blue
#3F829D
ΔE00 5.45
Off Blue
#5684AE
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#398AB5 #B56439
analogous
#39B5A2 #398AB5 #394CB5
triadic
#398AB5 #B5398A #8AB539
tetradic
#398AB5 #A239B5 #B56439 #4CB539
square
#398AB5 #A239B5 #B56439 #4CB539
split-complementary
#398AB5 #B5394C #B5A239
monochromatic
#1C4358 #2A6786 #398AB5 #5FA6CD #8DC0DB
Accessibility & contrast
On white
3.83
#398AB5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.48
#398AB5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #398AB5
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##398AB5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##398AB5 | 1.00 | 3.83 | 5.48 | 5.48 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7589B7
Deuteranopia (green-blind)
#647DB4
Tritanopia (blue-blind)
#009599
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #398ab5; /* rgb */ color: rgb(57, 138, 181); /* oklch */ color: oklch(60.2% 0.102 235.3);
Tailwind
colors: {
custom: {
50: '#7eaccb',
500: '#398ab5',
950: '#000000',
},
}SCSS
$custom: #398ab5; $custom-light: #7eaccb; $custom-dark: #000000;
JSON
{
"hex": "#398ab5",
"rgb": {
"r": 57,
"g": 138,
"b": 181
},
"hsl": {
"h": 200.806,
"s": 52.101,
"l": 46.667
},
"oklch": {
"l": 0.60239,
"c": 0.10167,
"h": 235.3
},
"luminance": 0.22383
}Semantic roles & 50–950 ramp
primary
#398AB5
secondary
#C69B84
accent
#7E4CDC
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82