#398BB2#398BB2
#398BB2 is a mid, moderate cyan. Relative luminance 0.225; OKLCH L 60.3% C 0.098 H 232.4°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #398BB2 |
|---|---|
| RGB | rgb(57, 139, 178) |
| HSL | hsl(199, 51%, 46%) |
| HSV | hsv(199, 68%, 70%) |
| CMYK | cmyk(68%, 21.9%, 0%, 30.2%) |
| CIE-LAB | lab(54.60, -12.21, -27.76) |
| CIE-LCH | lch(54.60, 30.32, 246.25°) |
| OKLab | oklab(60.34% -0.06 -0.0778) |
| OKLCH | oklch(60.34% 0.098 232.4) |
| XYZ | xyz(18.9527, 22.5474, 45.4641) |
| Luminance | 0.2255 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 4.68
Steel Blue
#4682B4
ΔE00 5.95
Dusty Blue
#5A86AD
ΔE00 6.06
Water Blue
#0E87CC
ΔE00 6.12
Cool Blue
#4984B8
ΔE00 6.16
Off Blue
#5684AE
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#398BB2 #B26039
analogous
#39B29C #398BB2 #394EB2
triadic
#398BB2 #B2398B #8BB239
tetradic
#398BB2 #9C39B2 #B26039 #4EB239
square
#398BB2 #9C39B2 #B26039 #4EB239
split-complementary
#398BB2 #B2394E #B29C39
monochromatic
#1B4355 #2A6784 #398BB2 #5DA8CB #8BC1DA
Accessibility & contrast
On white
3.81
#398BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.51
#398BB2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #398BB2
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##398BB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##398BB2 | 1.00 | 3.81 | 5.51 | 5.51 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7889B4
Deuteranopia (green-blind)
#677DB1
Tritanopia (blue-blind)
#009698
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #398bb2; /* rgb */ color: rgb(57, 139, 178); /* oklch */ color: oklch(60.3% 0.098 232.4);
Tailwind
colors: {
custom: {
50: '#7dacc9',
500: '#398bb2',
950: '#000000',
},
}SCSS
$custom: #398bb2; $custom-light: #7dacc9; $custom-dark: #000000;
JSON
{
"hex": "#398bb2",
"rgb": {
"r": 57,
"g": 139,
"b": 178
},
"hsl": {
"h": 199.339,
"s": 51.489,
"l": 46.078
},
"oklch": {
"l": 0.60336,
"c": 0.09829,
"h": 232.4
},
"luminance": 0.22549
}Semantic roles & 50–950 ramp
primary
#398BB2
secondary
#C49882
accent
#7B4DDB
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82