#398EA6#398EA6

#398EA6 is a mid, moderate cyan. Relative luminance 0.230; OKLCH L 60.5% C 0.088 H 219.7°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#398EA6
RGBrgb(57, 142, 166)
HSLhsl(193, 49%, 44%)
HSVhsv(193, 66%, 65%)
CMYKcmyk(65.7%, 14.5%, 0%, 34.9%)
CIE-LABlab(55.04, -17.80, -20.21)
CIE-LCHlch(55.04, 26.93, 228.63°)
OKLaboklab(60.53% -0.0678 -0.0563)
OKLCHoklch(60.53% 0.088 219.7)
XYZxyz(18.2405, 22.9671, 39.5408)
Luminance0.2297 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398EA6 #A65139
analogous
#39A687 #398EA6 #3957A6
triadic
#398EA6 #A6398E #8EA639
tetradic
#398EA6 #8739A6 #A65139 #57A639
square
#398EA6 #8739A6 #A65139 #57A639
split-complementary
#398EA6 #A63957 #A68739
monochromatic
#1A404B #296778 #398EA6 #57ADC5 #84C3D5

Accessibility & contrast

On white

3.75
#398EA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#398EA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398EA6
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398EA6#FFFFFF#000000##000000
##398EA61.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8AA7
Deuteranopia (green-blind)
#707FA6
Tritanopia (blue-blind)
#009696
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #398ea6;
/* rgb */ color: rgb(57, 142, 166);
/* oklch */ color: oklch(60.5% 0.088 219.7);
Tailwind
colors: {
  custom: {
    50: '#7cafc0',
    500: '#398ea6',
    950: '#000000',
  },
}
SCSS
$custom: #398ea6;
$custom-light: #7cafc0;
$custom-dark: #000000;
JSON
{
  "hex": "#398ea6",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 166
  },
  "hsl": {
    "h": 193.211,
    "s": 48.879,
    "l": 43.725
  },
  "oklch": {
    "l": 0.60526,
    "c": 0.0881,
    "h": 219.7
  },
  "luminance": 0.22969
}

Semantic roles & 50–950 ramp

primary
#398EA6
secondary
#BF8B7C
accent
#6E4FD8
background
#F8FAFB
surface
#EFF4F7
border
#CACED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #398EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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