#398DA8#398DA8

#398DA8 is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.4% C 0.089 H 222.6°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#398DA8
RGBrgb(57, 141, 168)
HSLhsl(195, 49%, 44%)
HSVhsv(195, 66%, 66%)
CMYKcmyk(66.1%, 16.1%, 0%, 34.1%)
CIE-LABlab(54.81, -16.61, -21.71)
CIE-LCHlch(54.81, 27.34, 232.58°)
OKLaboklab(60.37% -0.0659 -0.0605)
OKLCHoklch(60.37% 0.089 222.6)
XYZxyz(18.2772, 22.7448, 40.4651)
Luminance0.2275 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398DA8 #A85439
analogous
#39A88C #398DA8 #3956A8
triadic
#398DA8 #A8398D #8DA839
tetradic
#398DA8 #8C39A8 #A85439 #56A839
square
#398DA8 #8C39A8 #A85439 #56A839
split-complementary
#398DA8 #A83956 #A88C39
monochromatic
#1A404D #29677A #398DA8 #58ABC6 #86C2D6

Accessibility & contrast

On white

3.78
#398DA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#398DA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398DA8
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398DA8#FFFFFF#000000##000000
##398DA81.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8AA9
Deuteranopia (green-blind)
#6E7EA8
Tritanopia (blue-blind)
#009596
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #398da8;
/* rgb */ color: rgb(57, 141, 168);
/* oklch */ color: oklch(60.4% 0.089 222.6);
Tailwind
colors: {
  custom: {
    50: '#7caec2',
    500: '#398da8',
    950: '#000000',
  },
}
SCSS
$custom: #398da8;
$custom-light: #7caec2;
$custom-dark: #000000;
JSON
{
  "hex": "#398da8",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 168
  },
  "hsl": {
    "h": 194.595,
    "s": 49.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.60367,
    "c": 0.08949,
    "h": 222.6
  },
  "luminance": 0.22747
}

Semantic roles & 50–950 ramp

primary
#398DA8
secondary
#C08D7D
accent
#704FD9
background
#F8FAFB
surface
#EFF4F7
border
#CACED0
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #398DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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