#398DC4#398DC4

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

Color values

HEX#398DC4
RGBrgb(57, 141, 196)
HSLhsl(204, 55%, 50%)
HSVhsv(204, 71%, 77%)
CMYKcmyk(70.9%, 28.1%, 0%, 23.1%)
CIE-LABlab(55.99, -7.21, -35.84)
CIE-LCHlch(55.99, 36.56, 258.63°)
OKLaboklab(61.7% -0.0559 -0.1012)
OKLCHoklch(61.7% 0.116 241.1)
XYZxyz(21.1722, 23.9028, 55.7117)
Luminance0.2391 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398DC4 #C47039
analogous
#39C4B6 #398DC4 #3947C4
triadic
#398DC4 #C4398D #8DC439
tetradic
#398DC4 #B639C4 #C47039 #47C439
square
#398DC4 #B639C4 #C47039 #47C439
split-complementary
#398DC4 #C43947 #C4B639
monochromatic
#1D4965 #2B6B95 #398DC4 #67A8D3 #97C3E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398DC4#FFFFFF#000000##000000
##398DC41.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)
#748EC6
Deuteranopia (green-blind)
#6180C3
Tritanopia (blue-blind)
#009BA0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #398dc4;
/* rgb */ color: rgb(57, 141, 196);
/* oklch */ color: oklch(61.7% 0.116 241.1);
Tailwind
colors: {
  custom: {
    50: '#80aed6',
    500: '#398dc4',
    950: '#000000',
  },
}
SCSS
$custom: #398dc4;
$custom-light: #80aed6;
$custom-dark: #000000;
JSON
{
  "hex": "#398dc4",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 196
  },
  "hsl": {
    "h": 203.741,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.61698,
    "c": 0.11561,
    "h": 241.1
  },
  "luminance": 0.23905
}

Semantic roles & 50–950 ramp

primary
#398DC4
secondary
#CCA68D
accent
#844ADE
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0B1014
muted
#7C7F83

Preview Lab

Preview with #398DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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