#398BB6#398BB6

#398BB6 is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.5% C 0.102 H 235.0°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#398BB6
RGBrgb(57, 139, 182)
HSLhsl(201, 52%, 47%)
HSVhsv(201, 69%, 71%)
CMYKcmyk(68.7%, 23.6%, 0%, 28.6%)
CIE-LABlab(54.77, -10.87, -29.78)
CIE-LCHlch(54.77, 31.70, 249.95°)
OKLaboklab(60.53% -0.0586 -0.0837)
OKLCHoklch(60.53% 0.102 235)
XYZxyz(19.3601, 22.7104, 47.6101)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398BB6 #B66439
analogous
#39B6A3 #398BB6 #394DB6
triadic
#398BB6 #B6398B #8BB639
tetradic
#398BB6 #A339B6 #B66439 #4DB639
square
#398BB6 #A339B6 #B66439 #4DB639
split-complementary
#398BB6 #B6394D #B6A339
monochromatic
#1C4459 #2A6787 #398BB6 #5FA7CD #8EC1DC

Accessibility & contrast

On white

3.79
#398BB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#398BB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398BB6
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398BB6#FFFFFF#000000##000000
##398BB61.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#768AB8
Deuteranopia (green-blind)
#657EB5
Tritanopia (blue-blind)
#00969A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #398bb6;
/* rgb */ color: rgb(57, 139, 182);
/* oklch */ color: oklch(60.5% 0.102 235.0);
Tailwind
colors: {
  custom: {
    50: '#7eaccc',
    500: '#398bb6',
    950: '#000000',
  },
}
SCSS
$custom: #398bb6;
$custom-light: #7eaccc;
$custom-dark: #000000;
JSON
{
  "hex": "#398bb6",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 182
  },
  "hsl": {
    "h": 200.64,
    "s": 52.301,
    "l": 46.863
  },
  "oklch": {
    "l": 0.60527,
    "c": 0.10215,
    "h": 235
  },
  "luminance": 0.22712
}

Semantic roles & 50–950 ramp

primary
#398BB6
secondary
#C69B85
accent
#7D4CDC
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #398BB6

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#398BB6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva