#398EB1#398EB1
#398EB1 is a mid, moderate cyan. Relative luminance 0.234; OKLCH L 61.0% C 0.096 H 228.7°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #398EB1 |
|---|---|
| RGB | rgb(57, 142, 177) |
| HSL | hsl(198, 51%, 46%) |
| HSV | hsv(198, 68%, 69%) |
| CMYK | cmyk(67.8%, 19.8%, 0%, 30.6%) |
| CIE-LAB | lab(55.47, -14.21, -25.84) |
| CIE-LCH | lch(55.47, 29.49, 241.19°) |
| OKLab | oklab(61.01% -0.0635 -0.0723) |
| OKLCH | oklch(61.01% 0.096 228.7) |
| XYZ | xyz(19.2930, 23.3881, 45.0840) |
| Luminance | 0.2339 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 4.73
Teal Blue
#01889F
ΔE00 6.66
Dusty Blue
#5A86AD
ΔE00 7.31
Steel Blue
#4682B4
ΔE00 7.68
Cerulean
#007BA7
ΔE00 7.68
Off Blue
#5684AE
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#398EB1 #B15C39
analogous
#39B198 #398EB1 #3952B1
triadic
#398EB1 #B1398E #8EB139
tetradic
#398EB1 #9839B1 #B15C39 #52B139
square
#398EB1 #9839B1 #B15C39 #52B139
split-complementary
#398EB1 #B13952 #B19839
monochromatic
#1B4454 #2A6983 #398EB1 #5DABCB #8BC3DA
Accessibility & contrast
On white
3.70
#398EB1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.68
#398EB1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #398EB1
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##398EB1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##398EB1 | 1.00 | 3.70 | 5.68 | 5.68 |
| #FFFFFF | 3.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C8CB3
Deuteranopia (green-blind)
#6B80B1
Tritanopia (blue-blind)
#009899
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #398eb1; /* rgb */ color: rgb(57, 142, 177); /* oklch */ color: oklch(61.0% 0.096 228.7);
Tailwind
colors: {
custom: {
50: '#7dafc8',
500: '#398eb1',
950: '#000000',
},
}SCSS
$custom: #398eb1; $custom-light: #7dafc8; $custom-dark: #000000;
JSON
{
"hex": "#398eb1",
"rgb": {
"r": 57,
"g": 142,
"b": 177
},
"hsl": {
"h": 197.5,
"s": 51.282,
"l": 45.882
},
"oklch": {
"l": 0.61014,
"c": 0.09627,
"h": 228.7
},
"luminance": 0.2339
}Semantic roles & 50–950 ramp
primary
#398EB1
secondary
#C49582
accent
#764DDB
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82