#398FB6#398FB6

#398FB6 is a mid, moderate cyan. Relative luminance 0.239; OKLCH L 61.5% C 0.100 H 231.3°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#398FB6
RGBrgb(57, 143, 182)
HSLhsl(199, 52%, 47%)
HSVhsv(199, 69%, 71%)
CMYKcmyk(68.7%, 21.4%, 0%, 28.6%)
CIE-LABlab(55.98, -13.10, -27.91)
CIE-LCHlch(55.98, 30.83, 244.86°)
OKLaboklab(61.49% -0.0627 -0.0783)
OKLCHoklch(61.49% 0.1 231.3)
XYZxyz(19.9500, 23.8900, 47.8067)
Luminance0.2389 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398FB6 #B66039
analogous
#39B69F #398FB6 #3951B6
triadic
#398FB6 #B6398F #8FB639
tetradic
#398FB6 #9F39B6 #B66039 #51B639
square
#398FB6 #9F39B6 #B66039 #51B639
split-complementary
#398FB6 #B63951 #B69F39
monochromatic
#1C4659 #2A6A87 #398FB6 #5FABCD #8EC3DC

Accessibility & contrast

On white

3.63
#398FB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#398FB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398FB6
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398FB6#FFFFFF#000000##000000
##398FB61.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8DB8
Deuteranopia (green-blind)
#6A81B5
Tritanopia (blue-blind)
#009A9C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #398fb6;
/* rgb */ color: rgb(57, 143, 182);
/* oklch */ color: oklch(61.5% 0.100 231.3);
Tailwind
colors: {
  custom: {
    50: '#7eafcc',
    500: '#398fb6',
    950: '#000000',
  },
}
SCSS
$custom: #398fb6;
$custom-light: #7eafcc;
$custom-dark: #000000;
JSON
{
  "hex": "#398fb6",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 182
  },
  "hsl": {
    "h": 198.72,
    "s": 52.301,
    "l": 46.863
  },
  "oklch": {
    "l": 0.61486,
    "c": 0.10029,
    "h": 231.3
  },
  "luminance": 0.23892
}

Semantic roles & 50–950 ramp

primary
#398FB6
secondary
#C69985
accent
#794CDC
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #398FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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