#398DC6#398DC6

#398DC6 is a mid, moderate cyan. Relative luminance 0.240; OKLCH L 61.8% C 0.118 H 242.0°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#398DC6
RGBrgb(57, 141, 198)
HSLhsl(204, 55%, 50%)
HSVhsv(204, 71%, 78%)
CMYKcmyk(71.2%, 28.8%, 0%, 22.4%)
CIE-LABlab(56.08, -6.51, -36.83)
CIE-LCHlch(56.08, 37.40, 259.97°)
OKLaboklab(61.8% -0.0553 -0.1041)
OKLCHoklch(61.8% 0.118 242)
XYZxyz(21.4013, 23.9944, 56.9186)
Luminance0.2400 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398DC6 #C67239
analogous
#39C6B8 #398DC6 #3947C6
triadic
#398DC6 #C6398D #8DC639
tetradic
#398DC6 #B839C6 #C67239 #47C639
square
#398DC6 #B839C6 #C67239 #47C639
split-complementary
#398DC6 #C63947 #C6B839
monochromatic
#1E4967 #2B6B96 #398DC6 #69A8D4 #98C4E1

Accessibility & contrast

On white

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

On black

5.80
#398DC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398DC6
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398DC6#FFFFFF#000000##000000
##398DC61.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#738EC9
Deuteranopia (green-blind)
#5F80C5
Tritanopia (blue-blind)
#009BA1
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #398dc6;
/* rgb */ color: rgb(57, 141, 198);
/* oklch */ color: oklch(61.8% 0.118 242.0);
Tailwind
colors: {
  custom: {
    50: '#80aed7',
    500: '#398dc6',
    950: '#000000',
  },
}
SCSS
$custom: #398dc6;
$custom-light: #80aed7;
$custom-dark: #000000;
JSON
{
  "hex": "#398dc6",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 198
  },
  "hsl": {
    "h": 204.255,
    "s": 55.294,
    "l": 50
  },
  "oklch": {
    "l": 0.61801,
    "c": 0.11783,
    "h": 242
  },
  "luminance": 0.23997
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #398DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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