#398EA5#398EA5

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

Color values

HEX#398EA5
RGBrgb(57, 142, 165)
HSLhsl(193, 49%, 44%)
HSVhsv(193, 65%, 65%)
CMYKcmyk(65.5%, 13.9%, 0%, 35.3%)
CIE-LABlab(55.00, -18.11, -19.69)
CIE-LCHlch(55.00, 26.76, 227.39°)
OKLaboklab(60.48% -0.0682 -0.0548)
OKLCHoklch(60.48% 0.087 218.8)
XYZxyz(18.1491, 22.9305, 39.0596)
Luminance0.2293 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398EA5 #A55039
analogous
#39A586 #398EA5 #3958A5
triadic
#398EA5 #A5398E #8EA539
tetradic
#398EA5 #8639A5 #A55039 #58A539
square
#398EA5 #8639A5 #A55039 #58A539
split-complementary
#398EA5 #A53958 #A58639
monochromatic
#1A404A #296778 #398EA5 #56ADC5 #84C3D4

Accessibility & contrast

On white

3.76
#398EA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##398EA5#FFFFFF#000000##000000
##398EA51.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8AA6
Deuteranopia (green-blind)
#707FA5
Tritanopia (blue-blind)
#009695
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #398ea5;
/* rgb */ color: rgb(57, 142, 165);
/* oklch */ color: oklch(60.5% 0.087 218.8);
Tailwind
colors: {
  custom: {
    50: '#7cafbf',
    500: '#398ea5',
    950: '#000000',
  },
}
SCSS
$custom: #398ea5;
$custom-light: #7cafbf;
$custom-dark: #000000;
JSON
{
  "hex": "#398ea5",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 165
  },
  "hsl": {
    "h": 192.778,
    "s": 48.649,
    "l": 43.529
  },
  "oklch": {
    "l": 0.60483,
    "c": 0.08748,
    "h": 218.8
  },
  "luminance": 0.22932
}

Semantic roles & 50–950 ramp

primary
#398EA5
secondary
#BE8A7B
accent
#6D50D8
background
#F8FAFB
surface
#EFF4F7
border
#CACED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #398EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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