#398EA3#398EA3

#398EA3 is a mid, moderate cyan. Relative luminance 0.229; OKLCH L 60.4% C 0.086 H 217.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#398EA3
RGBrgb(57, 142, 163)
HSLhsl(192, 48%, 43%)
HSVhsv(192, 65%, 64%)
CMYKcmyk(65%, 12.9%, 0%, 36.1%)
CIE-LABlab(54.93, -18.75, -18.66)
CIE-LCHlch(54.93, 26.45, 224.86°)
OKLaboklab(60.4% -0.069 -0.0519)
OKLCHoklch(60.4% 0.086 217)
XYZxyz(17.9685, 22.8583, 38.1084)
Luminance0.2286 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398EA3 #A34E39
analogous
#39A383 #398EA3 #3959A3
triadic
#398EA3 #A3398E #8EA339
tetradic
#398EA3 #8339A3 #A34E39 #59A339
square
#398EA3 #8339A3 #A34E39 #59A339
split-complementary
#398EA3 #A33959 #A38339
monochromatic
#193F48 #296676 #398EA3 #55AEC4 #83C4D4

Accessibility & contrast

On white

3.77
#398EA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#398EA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398EA3
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398EA3#FFFFFF#000000##000000
##398EA31.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#808AA4
Deuteranopia (green-blind)
#717FA3
Tritanopia (blue-blind)
#009595
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #398ea3;
/* rgb */ color: rgb(57, 142, 163);
/* oklch */ color: oklch(60.4% 0.086 217.0);
Tailwind
colors: {
  custom: {
    50: '#7cafbe',
    500: '#398ea3',
    950: '#000000',
  },
}
SCSS
$custom: #398ea3;
$custom-light: #7cafbe;
$custom-dark: #000000;
JSON
{
  "hex": "#398ea3",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 163
  },
  "hsl": {
    "h": 191.887,
    "s": 48.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.60398,
    "c": 0.08633,
    "h": 217
  },
  "luminance": 0.2286
}

Semantic roles & 50–950 ramp

primary
#398EA3
secondary
#BD887A
accent
#6B50D8
background
#F8FAFB
surface
#EFF4F6
border
#CACED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #398EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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