#398BC7#398BC7

#398BC7 is a mid, vivid cyan. Relative luminance 0.235; OKLCH L 61.4% C 0.120 H 243.9°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#398BC7
RGBrgb(57, 139, 199)
HSLhsl(205, 56%, 50%)
HSVhsv(205, 71%, 78%)
CMYKcmyk(71.4%, 30.2%, 0%, 22%)
CIE-LABlab(55.54, -5.01, -38.25)
CIE-LCHlch(55.54, 38.58, 262.53°)
OKLaboklab(61.39% -0.053 -0.1082)
OKLCHoklch(61.39% 0.12 243.9)
XYZxyz(21.2248, 23.4563, 57.4307)
Luminance0.2346 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398BC7 #C77539
analogous
#39C7BC #398BC7 #3944C7
triadic
#398BC7 #C7398B #8BC739
tetradic
#398BC7 #BC39C7 #C77539 #44C739
square
#398BC7 #BC39C7 #C77539 #44C739
split-complementary
#398BC7 #C73944 #C7BC39
monochromatic
#1D4968 #2B6A98 #398BC7 #69A7D4 #98C3E2

Accessibility & contrast

On white

3.69
#398BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#398BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398BC7
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398BC7#FFFFFF#000000##000000
##398BC71.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#708DCA
Deuteranopia (green-blind)
#5C7FC6
Tritanopia (blue-blind)
#009AA0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #398bc7;
/* rgb */ color: rgb(57, 139, 199);
/* oklch */ color: oklch(61.4% 0.120 243.9);
Tailwind
colors: {
  custom: {
    50: '#81acd8',
    500: '#398bc7',
    950: '#000000',
  },
}
SCSS
$custom: #398bc7;
$custom-light: #81acd8;
$custom-dark: #000000;
JSON
{
  "hex": "#398bc7",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 199
  },
  "hsl": {
    "h": 205.352,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.61387,
    "c": 0.12049,
    "h": 243.9
  },
  "luminance": 0.23459
}

Semantic roles & 50–950 ramp

primary
#398BC7
secondary
#CEA98E
accent
#8849DF
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C1014
muted
#7D7F83

Preview Lab

Preview with #398BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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