#398FB5#398FB5
#398FB5 is a mid, moderate cyan. Relative luminance 0.239; OKLCH L 61.4% C 0.099 H 230.6°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #398FB5 |
|---|---|
| RGB | rgb(57, 143, 181) |
| HSL | hsl(198, 52%, 47%) |
| HSV | hsv(198, 69%, 71%) |
| CMYK | cmyk(68.5%, 21%, 0%, 29%) |
| CIE-LAB | lab(55.94, -13.43, -27.41) |
| CIE-LCH | lch(55.94, 30.52, 243.89°) |
| OKLab | oklab(61.44% -0.0631 -0.0768) |
| OKLCH | oklch(61.44% 0.099 230.6) |
| XYZ | xyz(19.8470, 23.8488, 47.2644) |
| Luminance | 0.2385 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 5.46
Dusty Blue
#5A86AD
ΔE00 6.95
Water Blue
#0E87CC
ΔE00 7.13
Steel Blue
#4682B4
ΔE00 7.21
Cool Blue
#4984B8
ΔE00 7.29
Off Blue
#5684AE
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#398FB5 #B55F39
analogous
#39B59D #398FB5 #3951B5
triadic
#398FB5 #B5398F #8FB539
tetradic
#398FB5 #9D39B5 #B55F39 #51B539
square
#398FB5 #9D39B5 #B55F39 #51B539
split-complementary
#398FB5 #B53951 #B59D39
monochromatic
#1C4558 #2A6A86 #398FB5 #5FABCD #8DC3DB
Accessibility & contrast
On white
3.64
#398FB5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.77
#398FB5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #398FB5
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##398FB5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##398FB5 | 1.00 | 3.64 | 5.77 | 5.77 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C8DB7
Deuteranopia (green-blind)
#6B81B4
Tritanopia (blue-blind)
#00999C
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #398fb5; /* rgb */ color: rgb(57, 143, 181); /* oklch */ color: oklch(61.4% 0.099 230.6);
Tailwind
colors: {
custom: {
50: '#7eafcb',
500: '#398fb5',
950: '#000000',
},
}SCSS
$custom: #398fb5; $custom-light: #7eafcb; $custom-dark: #000000;
JSON
{
"hex": "#398fb5",
"rgb": {
"r": 57,
"g": 143,
"b": 181
},
"hsl": {
"h": 198.387,
"s": 52.101,
"l": 46.667
},
"oklch": {
"l": 0.6144,
"c": 0.09939,
"h": 230.6
},
"luminance": 0.23851
}Semantic roles & 50–950 ramp
primary
#398FB5
secondary
#C69884
accent
#784CDC
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82