#398CC6#398CC6

#398CC6 is a mid, moderate cyan. Relative luminance 0.237; OKLCH L 61.6% C 0.119 H 242.8°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#398CC6
RGBrgb(57, 140, 198)
HSLhsl(205, 55%, 50%)
HSVhsv(205, 71%, 78%)
CMYKcmyk(71.2%, 29.3%, 0%, 22.4%)
CIE-LABlab(55.79, -5.94, -37.30)
CIE-LCHlch(55.79, 37.77, 260.95°)
OKLaboklab(61.57% -0.0543 -0.1054)
OKLCHoklch(61.57% 0.119 242.8)
XYZxyz(21.2545, 23.7009, 56.8697)
Luminance0.2370 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398CC6 #C67339
analogous
#39C6BA #398CC6 #3945C6
triadic
#398CC6 #C6398C #8CC639
tetradic
#398CC6 #BA39C6 #C67339 #45C639
square
#398CC6 #BA39C6 #C67339 #45C639
split-complementary
#398CC6 #C63945 #C6BA39
monochromatic
#1E4967 #2B6A96 #398CC6 #69A8D4 #98C3E1

Accessibility & contrast

On white

3.66
#398CC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#398CC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398CC6
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398CC6#FFFFFF#000000##000000
##398CC61.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#718DC9
Deuteranopia (green-blind)
#5E80C5
Tritanopia (blue-blind)
#009AA0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #398cc6;
/* rgb */ color: rgb(57, 140, 198);
/* oklch */ color: oklch(61.6% 0.119 242.8);
Tailwind
colors: {
  custom: {
    50: '#80add7',
    500: '#398cc6',
    950: '#000000',
  },
}
SCSS
$custom: #398cc6;
$custom-light: #80add7;
$custom-dark: #000000;
JSON
{
  "hex": "#398cc6",
  "rgb": {
    "r": 57,
    "g": 140,
    "b": 198
  },
  "hsl": {
    "h": 204.681,
    "s": 55.294,
    "l": 50
  },
  "oklch": {
    "l": 0.61567,
    "c": 0.11857,
    "h": 242.8
  },
  "luminance": 0.23703
}

Semantic roles & 50–950 ramp

primary
#398CC6
secondary
#CDA88E
accent
#8749DF
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C1014
muted
#7D7F83

Preview Lab

Preview with #398CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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