#398EC5#398EC5

#398EC5 is a mid, moderate cyan. Relative luminance 0.242; OKLCH L 62.0% C 0.116 H 240.8°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#398EC5
RGBrgb(57, 142, 197)
HSLhsl(204, 55%, 50%)
HSVhsv(204, 71%, 77%)
CMYKcmyk(71.1%, 27.9%, 0%, 22.7%)
CIE-LABlab(56.33, -7.43, -35.88)
CIE-LCHlch(56.33, 36.64, 258.29°)
OKLaboklab(61.98% -0.0566 -0.1013)
OKLCHoklch(61.98% 0.116 240.8)
XYZxyz(21.4345, 24.2447, 56.3625)
Luminance0.2425 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398EC5 #C57039
analogous
#39C5B6 #398EC5 #3948C5
triadic
#398EC5 #C5398E #8EC539
tetradic
#398EC5 #B639C5 #C57039 #48C539
square
#398EC5 #B639C5 #C57039 #48C539
split-complementary
#398EC5 #C53948 #C5B639
monochromatic
#1E4A66 #2B6C96 #398EC5 #68A9D3 #97C4E1

Accessibility & contrast

On white

3.59
#398EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#398EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398EC5
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398EC5#FFFFFF#000000##000000
##398EC51.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#758FC7
Deuteranopia (green-blind)
#6181C4
Tritanopia (blue-blind)
#009CA1
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #398ec5;
/* rgb */ color: rgb(57, 142, 197);
/* oklch */ color: oklch(62.0% 0.116 240.8);
Tailwind
colors: {
  custom: {
    50: '#80aed7',
    500: '#398ec5',
    950: '#000000',
  },
}
SCSS
$custom: #398ec5;
$custom-light: #80aed7;
$custom-dark: #000000;
JSON
{
  "hex": "#398ec5",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 197
  },
  "hsl": {
    "h": 203.571,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.61983,
    "c": 0.116,
    "h": 240.8
  },
  "luminance": 0.24247
}

Semantic roles & 50–950 ramp

primary
#398EC5
secondary
#CDA68D
accent
#8449DE
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C1014
muted
#7D7F83

Preview Lab

Preview with #398EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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