#398FB2#398FB2
#398FB2 is a mid, moderate cyan. Relative luminance 0.237; OKLCH L 61.3% C 0.097 H 228.5°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #398FB2 |
|---|---|
| RGB | rgb(57, 143, 178) |
| HSL | hsl(197, 51%, 46%) |
| HSV | hsv(197, 68%, 70%) |
| CMYK | cmyk(68%, 19.7%, 0%, 30.2%) |
| CIE-LAB | lab(55.81, -14.43, -25.88) |
| CIE-LCH | lch(55.81, 29.64, 240.86°) |
| OKLab | oklab(61.3% -0.0642 -0.0725) |
| OKLCH | oklch(61.3% 0.097 228.5) |
| XYZ | xyz(19.5425, 23.7270, 45.6607) |
| Luminance | 0.2373 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 5.03
Teal Blue
#01889F
ΔE00 6.73
Dusty Blue
#5A86AD
ΔE00 7.49
Steel Blue
#4682B4
ΔE00 7.92
Off Blue
#5684AE
ΔE00 7.94
Cerulean
#007BA7
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#398FB2 #B25C39
analogous
#39B298 #398FB2 #3953B2
triadic
#398FB2 #B2398F #8FB239
tetradic
#398FB2 #9839B2 #B25C39 #53B239
square
#398FB2 #9839B2 #B25C39 #53B239
split-complementary
#398FB2 #B23953 #B29839
monochromatic
#1B4555 #2A6A84 #398FB2 #5DABCB #8BC3DA
Accessibility & contrast
On white
3.65
#398FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.75
#398FB2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #398FB2
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##398FB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##398FB2 | 1.00 | 3.65 | 5.75 | 5.75 |
| #FFFFFF | 3.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D8DB4
Deuteranopia (green-blind)
#6C80B2
Tritanopia (blue-blind)
#00999A
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #398fb2; /* rgb */ color: rgb(57, 143, 178); /* oklch */ color: oklch(61.3% 0.097 228.5);
Tailwind
colors: {
custom: {
50: '#7eafc9',
500: '#398fb2',
950: '#000000',
},
}SCSS
$custom: #398fb2; $custom-light: #7eafc9; $custom-dark: #000000;
JSON
{
"hex": "#398fb2",
"rgb": {
"r": 57,
"g": 143,
"b": 178
},
"hsl": {
"h": 197.355,
"s": 51.489,
"l": 46.078
},
"oklch": {
"l": 0.61301,
"c": 0.0968,
"h": 228.5
},
"luminance": 0.23729
}Semantic roles & 50–950 ramp
primary
#398FB2
secondary
#C49582
accent
#764DDB
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82