#398CB1#398CB1
#398CB1 is a mid, moderate cyan. Relative luminance 0.228; OKLCH L 60.5% C 0.097 H 230.7°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #398CB1 |
|---|---|
| RGB | rgb(57, 140, 177) |
| HSL | hsl(199, 51%, 46%) |
| HSV | hsv(199, 68%, 69%) |
| CMYK | cmyk(67.8%, 20.9%, 0%, 30.6%) |
| CIE-LAB | lab(54.86, -13.10, -26.78) |
| CIE-LCH | lch(54.86, 29.81, 243.93°) |
| OKLab | oklab(60.53% -0.0614 -0.075) |
| OKLCH | oklch(60.53% 0.097 230.7) |
| XYZ | xyz(18.9981, 22.7983, 44.9857) |
| Luminance | 0.2280 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 4.50
Dusty Blue
#5A86AD
ΔE00 6.57
Steel Blue
#4682B4
ΔE00 6.68
Cool Blue
#4984B8
ΔE00 6.89
Cerulean
#007BA7
ΔE00 6.90
Off Blue
#5684AE
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#398CB1 #B15E39
analogous
#39B19A #398CB1 #3950B1
triadic
#398CB1 #B1398C #8CB139
tetradic
#398CB1 #9A39B1 #B15E39 #50B139
square
#398CB1 #9A39B1 #B15E39 #50B139
split-complementary
#398CB1 #B13950 #B19A39
monochromatic
#1B4354 #2A6783 #398CB1 #5DA9CB #8BC1DA
Accessibility & contrast
On white
3.78
#398CB1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.56
#398CB1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #398CB1
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##398CB1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##398CB1 | 1.00 | 3.78 | 5.56 | 5.56 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#798AB3
Deuteranopia (green-blind)
#697EB0
Tritanopia (blue-blind)
#009698
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #398cb1; /* rgb */ color: rgb(57, 140, 177); /* oklch */ color: oklch(60.5% 0.097 230.7);
Tailwind
colors: {
custom: {
50: '#7dadc8',
500: '#398cb1',
950: '#000000',
},
}SCSS
$custom: #398cb1; $custom-light: #7dadc8; $custom-dark: #000000;
JSON
{
"hex": "#398cb1",
"rgb": {
"r": 57,
"g": 140,
"b": 177
},
"hsl": {
"h": 198.5,
"s": 51.282,
"l": 45.882
},
"oklch": {
"l": 0.6053,
"c": 0.09696,
"h": 230.7
},
"luminance": 0.228
}Semantic roles & 50–950 ramp
primary
#398CB1
secondary
#C49682
accent
#794DDB
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82