#398BB1#398BB1
#398BB1 is a mid, moderate cyan. Relative luminance 0.225; OKLCH L 60.3% C 0.097 H 231.7°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #398BB1 |
|---|---|
| RGB | rgb(57, 139, 177) |
| HSL | hsl(199, 51%, 46%) |
| HSV | hsv(199, 68%, 69%) |
| CMYK | cmyk(67.8%, 21.5%, 0%, 30.6%) |
| CIE-LAB | lab(54.56, -12.55, -27.25) |
| CIE-LCH | lch(54.56, 30.00, 245.27°) |
| OKLab | oklab(60.29% -0.0604 -0.0764) |
| OKLCH | oklch(60.29% 0.097 231.7) |
| XYZ | xyz(18.8526, 22.5074, 44.9372) |
| Luminance | 0.2251 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 4.46
Steel Blue
#4682B4
ΔE00 6.19
Dusty Blue
#5A86AD
ΔE00 6.23
Cool Blue
#4984B8
ΔE00 6.42
Water Blue
#0E87CC
ΔE00 6.45
Off Blue
#5684AE
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#398BB1 #B15F39
analogous
#39B19B #398BB1 #394FB1
triadic
#398BB1 #B1398B #8BB139
tetradic
#398BB1 #9B39B1 #B15F39 #4FB139
square
#398BB1 #9B39B1 #B15F39 #4FB139
split-complementary
#398BB1 #B1394F #B19B39
monochromatic
#1B4254 #2A6783 #398BB1 #5DA8CB #8BC1DA
Accessibility & contrast
On white
3.82
#398BB1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.50
#398BB1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #398BB1
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##398BB1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##398BB1 | 1.00 | 3.82 | 5.50 | 5.50 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7889B3
Deuteranopia (green-blind)
#677DB0
Tritanopia (blue-blind)
#009598
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #398bb1; /* rgb */ color: rgb(57, 139, 177); /* oklch */ color: oklch(60.3% 0.097 231.7);
Tailwind
colors: {
custom: {
50: '#7dacc8',
500: '#398bb1',
950: '#000000',
},
}SCSS
$custom: #398bb1; $custom-light: #7dacc8; $custom-dark: #000000;
JSON
{
"hex": "#398bb1",
"rgb": {
"r": 57,
"g": 139,
"b": 177
},
"hsl": {
"h": 199,
"s": 51.282,
"l": 45.882
},
"oklch": {
"l": 0.60289,
"c": 0.09737,
"h": 231.7
},
"luminance": 0.22509
}Semantic roles & 50–950 ramp
primary
#398BB1
secondary
#C49782
accent
#7A4DDB
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82