#398AAF#398AAF

#398AAF is a mid, moderate cyan. Relative luminance 0.221; OKLCH L 60.0% C 0.096 H 231.3°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#398AAF
RGBrgb(57, 138, 175)
HSLhsl(199, 51%, 45%)
HSVhsv(199, 67%, 69%)
CMYKcmyk(67.4%, 21.1%, 0%, 31.4%)
CIE-LABlab(54.18, -12.66, -26.70)
CIE-LCHlch(54.18, 29.55, 244.64°)
OKLaboklab(59.95% -0.06 -0.0748)
OKLCHoklch(59.95% 0.096 231.3)
XYZxyz(18.5106, 22.1400, 43.8470)
Luminance0.2214 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398AAF #AF5E39
analogous
#39AF99 #398AAF #394FAF
triadic
#398AAF #AF398A #8AAF39
tetradic
#398AAF #9939AF #AF5E39 #4FAF39
square
#398AAF #9939AF #AF5E39 #4FAF39
split-complementary
#398AAF #AF394F #AF9939
monochromatic
#1B4153 #2A6681 #398AAF #5BA7CA #8AC0D9

Accessibility & contrast

On white

3.87
#398AAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#398AAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398AAF
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398AAF#FFFFFF#000000##000000
##398AAF1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7788B1
Deuteranopia (green-blind)
#677CAE
Tritanopia (blue-blind)
#009496
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #398aaf;
/* rgb */ color: rgb(57, 138, 175);
/* oklch */ color: oklch(60.0% 0.096 231.3);
Tailwind
colors: {
  custom: {
    50: '#7dacc7',
    500: '#398aaf',
    950: '#000000',
  },
}
SCSS
$custom: #398aaf;
$custom-light: #7dacc7;
$custom-dark: #000000;
JSON
{
  "hex": "#398aaf",
  "rgb": {
    "r": 57,
    "g": 138,
    "b": 175
  },
  "hsl": {
    "h": 198.814,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.59954,
    "c": 0.09595,
    "h": 231.3
  },
  "luminance": 0.22142
}

Semantic roles & 50–950 ramp

primary
#398AAF
secondary
#C39681
accent
#7A4DDA
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #398AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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