#398DC7#398DC7

#398DC7 is a mid, moderate cyan. Relative luminance 0.240; OKLCH L 61.9% C 0.119 H 242.5°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#398DC7
RGBrgb(57, 141, 199)
HSLhsl(205, 56%, 50%)
HSVhsv(205, 71%, 78%)
CMYKcmyk(71.4%, 29.1%, 0%, 22%)
CIE-LABlab(56.13, -6.17, -37.33)
CIE-LCHlch(56.13, 37.83, 260.62°)
OKLaboklab(61.85% -0.0549 -0.1055)
OKLCHoklch(61.85% 0.119 242.5)
XYZxyz(21.5170, 24.0407, 57.5281)
Luminance0.2404 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398DC7 #C77339
analogous
#39C7BA #398DC7 #3946C7
triadic
#398DC7 #C7398D #8DC739
tetradic
#398DC7 #BA39C7 #C77339 #46C739
square
#398DC7 #BA39C7 #C77339 #46C739
split-complementary
#398DC7 #C73946 #C7BA39
monochromatic
#1D4A68 #2B6B98 #398DC7 #69A8D4 #98C4E2

Accessibility & contrast

On white

3.62
#398DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#398DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398DC7
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398DC7#FFFFFF#000000##000000
##398DC71.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#728ECA
Deuteranopia (green-blind)
#5F80C6
Tritanopia (blue-blind)
#009BA1
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #398dc7;
/* rgb */ color: rgb(57, 141, 199);
/* oklch */ color: oklch(61.9% 0.119 242.5);
Tailwind
colors: {
  custom: {
    50: '#81aed8',
    500: '#398dc7',
    950: '#000000',
  },
}
SCSS
$custom: #398dc7;
$custom-light: #81aed8;
$custom-dark: #000000;
JSON
{
  "hex": "#398dc7",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 199
  },
  "hsl": {
    "h": 204.507,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.61853,
    "c": 0.11895,
    "h": 242.5
  },
  "luminance": 0.24043
}

Semantic roles & 50–950 ramp

primary
#398DC7
secondary
#CEA88E
accent
#8649DF
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C1014
muted
#7D7F83

Preview Lab

Preview with #398DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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