#398CA8#398CA8

#398CA8 is a mid, moderate cyan. Relative luminance 0.225; OKLCH L 60.1% C 0.090 H 223.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#398CA8
RGBrgb(57, 140, 168)
HSLhsl(195, 49%, 44%)
HSVhsv(195, 66%, 66%)
CMYKcmyk(66.1%, 16.7%, 0%, 34.1%)
CIE-LABlab(54.50, -16.07, -22.18)
CIE-LCHlch(54.50, 27.39, 234.08°)
OKLaboklab(60.12% -0.0648 -0.0619)
OKLCHoklch(60.12% 0.09 223.7)
XYZxyz(18.1305, 22.4512, 40.4162)
Luminance0.2245 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398CA8 #A85539
analogous
#39A88D #398CA8 #3955A8
triadic
#398CA8 #A8398C #8CA839
tetradic
#398CA8 #8D39A8 #A85539 #55A839
square
#398CA8 #8D39A8 #A85539 #55A839
split-complementary
#398CA8 #A83955 #A88D39
monochromatic
#1A404D #29667A #398CA8 #58AAC6 #86C2D6

Accessibility & contrast

On white

3.82
#398CA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#398CA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398CA8
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398CA8#FFFFFF#000000##000000
##398CA81.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C89A9
Deuteranopia (green-blind)
#6D7DA8
Tritanopia (blue-blind)
#009595
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #398ca8;
/* rgb */ color: rgb(57, 140, 168);
/* oklch */ color: oklch(60.1% 0.090 223.7);
Tailwind
colors: {
  custom: {
    50: '#7cadc2',
    500: '#398ca8',
    950: '#000000',
  },
}
SCSS
$custom: #398ca8;
$custom-light: #7cadc2;
$custom-dark: #000000;
JSON
{
  "hex": "#398ca8",
  "rgb": {
    "r": 57,
    "g": 140,
    "b": 168
  },
  "hsl": {
    "h": 195.135,
    "s": 49.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.60122,
    "c": 0.08963,
    "h": 223.7
  },
  "luminance": 0.22453
}

Semantic roles & 50–950 ramp

primary
#398CA8
secondary
#C08E7D
accent
#724FD9
background
#F8FAFB
surface
#EFF4F7
border
#CACED0
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #398CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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