#398CAB#398CAB

#398CAB is a mid, moderate cyan. Relative luminance 0.226; OKLCH L 60.3% C 0.092 H 226.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#398CAB
RGBrgb(57, 140, 171)
HSLhsl(196, 50%, 45%)
HSVhsv(196, 67%, 67%)
CMYKcmyk(66.7%, 18.1%, 0%, 32.9%)
CIE-LABlab(54.62, -15.09, -23.72)
CIE-LCHlch(54.62, 28.11, 237.54°)
OKLaboklab(60.26% -0.0637 -0.0663)
OKLCHoklch(60.26% 0.092 226.2)
XYZxyz(18.4132, 22.5643, 41.9051)
Luminance0.2257 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398CAB #AB5839
analogous
#39AB91 #398CAB #3953AB
triadic
#398CAB #AB398C #8CAB39
tetradic
#398CAB #9139AB #AB5839 #53AB39
square
#398CAB #9139AB #AB5839 #53AB39
split-complementary
#398CAB #AB3953 #AB9139
monochromatic
#1A414F #2A667D #398CAB #59AAC8 #87C1D7

Accessibility & contrast

On white

3.81
#398CAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#398CAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398CAB
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398CAB#FFFFFF#000000##000000
##398CAB1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B89AD
Deuteranopia (green-blind)
#6B7EAB
Tritanopia (blue-blind)
#009596
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #398cab;
/* rgb */ color: rgb(57, 140, 171);
/* oklch */ color: oklch(60.3% 0.092 226.2);
Tailwind
colors: {
  custom: {
    50: '#7cadc4',
    500: '#398cab',
    950: '#000000',
  },
}
SCSS
$custom: #398cab;
$custom-light: #7cadc4;
$custom-dark: #000000;
JSON
{
  "hex": "#398cab",
  "rgb": {
    "r": 57,
    "g": 140,
    "b": 171
  },
  "hsl": {
    "h": 196.316,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.60256,
    "c": 0.09191,
    "h": 226.2
  },
  "luminance": 0.22566
}

Semantic roles & 50–950 ramp

primary
#398CAB
secondary
#C1917F
accent
#744EDA
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #398CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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