#398FA8#398FA8

#398FA8 is a mid, moderate cyan. Relative luminance 0.233; OKLCH L 60.9% C 0.089 H 220.4°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#398FA8
RGBrgb(57, 143, 168)
HSLhsl(194, 49%, 44%)
HSVhsv(194, 66%, 66%)
CMYKcmyk(66.1%, 14.9%, 0%, 34.1%)
CIE-LABlab(55.42, -17.69, -20.77)
CIE-LCHlch(55.42, 27.28, 229.58°)
OKLaboklab(60.86% -0.068 -0.0579)
OKLCHoklch(60.86% 0.089 220.4)
XYZxyz(18.5748, 23.3399, 40.5643)
Luminance0.2334 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398FA8 #A85239
analogous
#39A88A #398FA8 #3957A8
triadic
#398FA8 #A8398F #8FA839
tetradic
#398FA8 #8A39A8 #A85239 #57A839
square
#398FA8 #8A39A8 #A85239 #57A839
split-complementary
#398FA8 #A83957 #A88A39
monochromatic
#1A414D #29687A #398FA8 #58ADC6 #86C4D6

Accessibility & contrast

On white

3.70
#398FA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#398FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398FA8
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398FA8#FFFFFF#000000##000000
##398FA81.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#808BA9
Deuteranopia (green-blind)
#7080A8
Tritanopia (blue-blind)
#009797
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #398fa8;
/* rgb */ color: rgb(57, 143, 168);
/* oklch */ color: oklch(60.9% 0.089 220.4);
Tailwind
colors: {
  custom: {
    50: '#7cb0c2',
    500: '#398fa8',
    950: '#000000',
  },
}
SCSS
$custom: #398fa8;
$custom-light: #7cb0c2;
$custom-dark: #000000;
JSON
{
  "hex": "#398fa8",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 168
  },
  "hsl": {
    "h": 193.514,
    "s": 49.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.60857,
    "c": 0.08934,
    "h": 220.4
  },
  "luminance": 0.23342
}

Semantic roles & 50–950 ramp

primary
#398FA8
secondary
#C08C7D
accent
#6E4FD9
background
#F8FAFB
surface
#EFF4F7
border
#CACED0
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #398FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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