#398EA8#398EA8

#398EA8 is a mid, moderate cyan. Relative luminance 0.230; OKLCH L 60.6% C 0.089 H 221.5°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#398EA8
RGBrgb(57, 142, 168)
HSLhsl(194, 49%, 44%)
HSVhsv(194, 66%, 66%)
CMYKcmyk(66.1%, 15.5%, 0%, 34.1%)
CIE-LABlab(55.11, -17.15, -21.24)
CIE-LCHlch(55.11, 27.30, 231.08°)
OKLaboklab(60.61% -0.067 -0.0592)
OKLCHoklch(60.61% 0.089 221.5)
XYZxyz(18.4254, 23.0410, 40.5145)
Luminance0.2304 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398EA8 #A85339
analogous
#39A88B #398EA8 #3957A8
triadic
#398EA8 #A8398E #8EA839
tetradic
#398EA8 #8B39A8 #A85339 #57A839
square
#398EA8 #8B39A8 #A85339 #57A839
split-complementary
#398EA8 #A83957 #A88B39
monochromatic
#1A414D #29677A #398EA8 #58ACC6 #86C3D6

Accessibility & contrast

On white

3.74
#398EA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#398EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398EA8
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398EA8#FFFFFF#000000##000000
##398EA81.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8BA9
Deuteranopia (green-blind)
#6F7FA8
Tritanopia (blue-blind)
#009696
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #398ea8;
/* rgb */ color: rgb(57, 142, 168);
/* oklch */ color: oklch(60.6% 0.089 221.5);
Tailwind
colors: {
  custom: {
    50: '#7cafc2',
    500: '#398ea8',
    950: '#000000',
  },
}
SCSS
$custom: #398ea8;
$custom-light: #7cafc2;
$custom-dark: #000000;
JSON
{
  "hex": "#398ea8",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 168
  },
  "hsl": {
    "h": 194.054,
    "s": 49.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.60612,
    "c": 0.0894,
    "h": 221.5
  },
  "luminance": 0.23043
}

Semantic roles & 50–950 ramp

primary
#398EA8
secondary
#C08D7D
accent
#6F4FD9
background
#F8FAFB
surface
#EFF4F7
border
#CACED0
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #398EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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