#398AC6#398AC6

#398AC6 is a mid, vivid cyan. Relative luminance 0.231; OKLCH L 61.1% C 0.120 H 244.2°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#398AC6
RGBrgb(57, 138, 198)
HSLhsl(206, 55%, 50%)
HSVhsv(206, 71%, 78%)
CMYKcmyk(71.2%, 30.3%, 0%, 22.4%)
CIE-LABlab(55.20, -4.78, -38.22)
CIE-LCHlch(55.20, 38.52, 262.87°)
OKLaboklab(61.1% -0.0523 -0.1081)
OKLCHoklch(61.1% 0.12 244.2)
XYZxyz(20.9650, 23.1217, 56.7732)
Luminance0.2312 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398AC6 #C67539
analogous
#39C6BC #398AC6 #3943C6
triadic
#398AC6 #C6398A #8AC639
tetradic
#398AC6 #BC39C6 #C67539 #43C639
square
#398AC6 #BC39C6 #C67539 #43C639
split-complementary
#398AC6 #C63943 #C6BC39
monochromatic
#1E4867 #2B6996 #398AC6 #69A6D4 #98C2E1

Accessibility & contrast

On white

3.73
#398AC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#398AC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398AC6
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398AC6#FFFFFF#000000##000000
##398AC61.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8CC9
Deuteranopia (green-blind)
#5B7EC5
Tritanopia (blue-blind)
#00999F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #398ac6;
/* rgb */ color: rgb(57, 138, 198);
/* oklch */ color: oklch(61.1% 0.120 244.2);
Tailwind
colors: {
  custom: {
    50: '#80abd7',
    500: '#398ac6',
    950: '#000000',
  },
}
SCSS
$custom: #398ac6;
$custom-light: #80abd7;
$custom-dark: #000000;
JSON
{
  "hex": "#398ac6",
  "rgb": {
    "r": 57,
    "g": 138,
    "b": 198
  },
  "hsl": {
    "h": 205.532,
    "s": 55.294,
    "l": 50
  },
  "oklch": {
    "l": 0.61101,
    "c": 0.12012,
    "h": 244.2
  },
  "luminance": 0.23124
}

Semantic roles & 50–950 ramp

primary
#398AC6
secondary
#CDA98E
accent
#8949DF
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C1014
muted
#7D7F83

Preview Lab

Preview with #398AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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