#398AA4#398AA4

#398AA4 is a mid, moderate cyan. Relative luminance 0.217; OKLCH L 59.5% C 0.087 H 222.4°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#398AA4
RGBrgb(57, 138, 164)
HSLhsl(195, 48%, 43%)
HSVhsv(195, 65%, 64%)
CMYKcmyk(65.2%, 15.9%, 0%, 35.7%)
CIE-LABlab(53.73, -16.27, -21.06)
CIE-LCHlch(53.73, 26.61, 232.30°)
OKLaboklab(59.46% -0.0642 -0.0587)
OKLCHoklch(59.46% 0.087 222.4)
XYZxyz(17.4740, 21.7253, 38.3873)
Luminance0.2173 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398AA4 #A45339
analogous
#39A488 #398AA4 #3955A4
triadic
#398AA4 #A4398A #8AA439
tetradic
#398AA4 #8839A4 #A45339 #55A439
square
#398AA4 #8839A4 #A45339 #55A439
split-complementary
#398AA4 #A43955 #A48839
monochromatic
#193E49 #296477 #398AA4 #56A9C4 #83C0D4

Accessibility & contrast

On white

3.93
#398AA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#398AA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398AA4
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398AA4#FFFFFF#000000##000000
##398AA41.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B87A5
Deuteranopia (green-blind)
#6C7CA4
Tritanopia (blue-blind)
#009292
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #398aa4;
/* rgb */ color: rgb(57, 138, 164);
/* oklch */ color: oklch(59.5% 0.087 222.4);
Tailwind
colors: {
  custom: {
    50: '#7bacbf',
    500: '#398aa4',
    950: '#000000',
  },
}
SCSS
$custom: #398aa4;
$custom-light: #7bacbf;
$custom-dark: #000000;
JSON
{
  "hex": "#398aa4",
  "rgb": {
    "r": 57,
    "g": 138,
    "b": 164
  },
  "hsl": {
    "h": 194.579,
    "s": 48.416,
    "l": 43.333
  },
  "oklch": {
    "l": 0.59456,
    "c": 0.08703,
    "h": 222.4
  },
  "luminance": 0.21727
}

Semantic roles & 50–950 ramp

primary
#398AA4
secondary
#BE8B7B
accent
#7150D8
background
#F8FAFB
surface
#EFF4F7
border
#CACED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #398AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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