#398BC6#398BC6

#398BC6 is a mid, moderate cyan. Relative luminance 0.234; OKLCH L 61.3% C 0.119 H 243.5°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#398BC6
RGBrgb(57, 139, 198)
HSLhsl(205, 55%, 50%)
HSVhsv(205, 71%, 78%)
CMYKcmyk(71.2%, 29.8%, 0%, 22.4%)
CIE-LABlab(55.49, -5.36, -37.76)
CIE-LCHlch(55.49, 38.14, 261.92°)
OKLaboklab(61.33% -0.0533 -0.1068)
OKLCHoklch(61.33% 0.119 243.5)
XYZxyz(21.1091, 23.4100, 56.8212)
Luminance0.2341 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398BC6 #C67439
analogous
#39C6BA #398BC6 #3945C6
triadic
#398BC6 #C6398B #8BC639
tetradic
#398BC6 #BA39C6 #C67439 #45C639
square
#398BC6 #BA39C6 #C67439 #45C639
split-complementary
#398BC6 #C63945 #C6BA39
monochromatic
#1E4867 #2B6A96 #398BC6 #69A7D4 #98C3E1

Accessibility & contrast

On white

3.70
#398BC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#398BC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398BC6
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398BC6#FFFFFF#000000##000000
##398BC61.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#708CC9
Deuteranopia (green-blind)
#5D7FC5
Tritanopia (blue-blind)
#0099A0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #398bc6;
/* rgb */ color: rgb(57, 139, 198);
/* oklch */ color: oklch(61.3% 0.119 243.5);
Tailwind
colors: {
  custom: {
    50: '#80acd7',
    500: '#398bc6',
    950: '#000000',
  },
}
SCSS
$custom: #398bc6;
$custom-light: #80acd7;
$custom-dark: #000000;
JSON
{
  "hex": "#398bc6",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 198
  },
  "hsl": {
    "h": 205.106,
    "s": 55.294,
    "l": 50
  },
  "oklch": {
    "l": 0.61334,
    "c": 0.11934,
    "h": 243.5
  },
  "luminance": 0.23412
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #398BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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