#398EA1#398EA1

#398EA1 is a mid, moderate cyan. Relative luminance 0.228; OKLCH L 60.3% C 0.085 H 215.1°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#398EA1
RGBrgb(57, 142, 161)
HSLhsl(191, 48%, 43%)
HSVhsv(191, 65%, 63%)
CMYKcmyk(64.6%, 11.8%, 0%, 36.9%)
CIE-LABlab(54.85, -19.38, -17.62)
CIE-LCHlch(54.85, 26.20, 222.27°)
OKLaboklab(60.32% -0.0698 -0.049)
OKLCHoklch(60.32% 0.085 215.1)
XYZxyz(17.7907, 22.7872, 37.1721)
Luminance0.2279 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398EA1 #A14C39
analogous
#39A180 #398EA1 #395AA1
triadic
#398EA1 #A1398E #8EA139
tetradic
#398EA1 #8039A1 #A14C39 #5AA139
square
#398EA1 #8039A1 #A14C39 #5AA139
split-complementary
#398EA1 #A1395A #A18039
monochromatic
#193E47 #296674 #398EA1 #55AFC3 #82C4D3

Accessibility & contrast

On white

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

On black

5.56
#398EA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398EA1
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398EA1#FFFFFF#000000##000000
##398EA11.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#818AA2
Deuteranopia (green-blind)
#717EA1
Tritanopia (blue-blind)
#009594
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #398ea1;
/* rgb */ color: rgb(57, 142, 161);
/* oklch */ color: oklch(60.3% 0.085 215.1);
Tailwind
colors: {
  custom: {
    50: '#7bafbc',
    500: '#398ea1',
    950: '#000000',
  },
}
SCSS
$custom: #398ea1;
$custom-light: #7bafbc;
$custom-dark: #000000;
JSON
{
  "hex": "#398ea1",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 161
  },
  "hsl": {
    "h": 190.962,
    "s": 47.706,
    "l": 42.745
  },
  "oklch": {
    "l": 0.60315,
    "c": 0.08528,
    "h": 215.1
  },
  "luminance": 0.22789
}

Semantic roles & 50–950 ramp

primary
#398EA1
secondary
#BC8679
accent
#6950D7
background
#F8FAFB
surface
#EFF4F6
border
#CACED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #398EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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