#398AAA#398AAA

#398AAA is a mid, moderate cyan. Relative luminance 0.219; OKLCH L 59.7% C 0.092 H 227.5°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#398AAA
RGBrgb(57, 138, 170)
HSLhsl(197, 50%, 45%)
HSVhsv(197, 66%, 67%)
CMYKcmyk(66.5%, 18.8%, 0%, 33.3%)
CIE-LABlab(53.97, -14.31, -24.15)
CIE-LCHlch(53.97, 28.07, 239.34°)
OKLaboklab(59.72% -0.0619 -0.0675)
OKLCHoklch(59.72% 0.092 227.5)
XYZxyz(18.0286, 21.9472, 41.3085)
Luminance0.2195 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398AAA #AA5939
analogous
#39AA92 #398AAA #3952AA
triadic
#398AAA #AA398A #8AAA39
tetradic
#398AAA #9239AA #AA5939 #52AA39
square
#398AAA #9239AA #AA5939 #52AA39
split-complementary
#398AAA #AA3952 #AA9239
monochromatic
#1A404E #2A657C #398AAA #59A8C7 #87C0D7

Accessibility & contrast

On white

3.90
#398AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#398AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398AAA
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398AAA#FFFFFF#000000##000000
##398AAA1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7988AC
Deuteranopia (green-blind)
#697CAA
Tritanopia (blue-blind)
#009394
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #398aaa;
/* rgb */ color: rgb(57, 138, 170);
/* oklch */ color: oklch(59.7% 0.092 227.5);
Tailwind
colors: {
  custom: {
    50: '#7cacc3',
    500: '#398aaa',
    950: '#000000',
  },
}
SCSS
$custom: #398aaa;
$custom-light: #7cacc3;
$custom-dark: #000000;
JSON
{
  "hex": "#398aaa",
  "rgb": {
    "r": 57,
    "g": 138,
    "b": 170
  },
  "hsl": {
    "h": 196.991,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.59723,
    "c": 0.09161,
    "h": 227.5
  },
  "luminance": 0.21949
}

Semantic roles & 50–950 ramp

primary
#398AAA
secondary
#C1917E
accent
#764ED9
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #398AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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