#398CA2#398CA2

#398CA2 is a mid, moderate cyan. Relative luminance 0.222; OKLCH L 59.9% C 0.086 H 218.3°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#398CA2
RGBrgb(57, 140, 162)
HSLhsl(193, 48%, 43%)
HSVhsv(193, 65%, 64%)
CMYKcmyk(64.8%, 13.6%, 0%, 36.5%)
CIE-LABlab(54.27, -18.00, -19.08)
CIE-LCHlch(54.27, 26.23, 226.67°)
OKLaboklab(59.86% -0.0672 -0.0531)
OKLCHoklch(59.86% 0.086 218.3)
XYZxyz(17.5844, 22.2328, 37.5401)
Luminance0.2223 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398CA2 #A24F39
analogous
#39A283 #398CA2 #3958A2
triadic
#398CA2 #A2398C #8CA239
tetradic
#398CA2 #8339A2 #A24F39 #58A239
square
#398CA2 #8339A2 #A24F39 #58A239
split-complementary
#398CA2 #A23958 #A28339
monochromatic
#193E47 #296575 #398CA2 #55ACC3 #82C2D3

Accessibility & contrast

On white

3.86
#398CA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#398CA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398CA2
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398CA2#FFFFFF#000000##000000
##398CA21.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E88A3
Deuteranopia (green-blind)
#6F7DA2
Tritanopia (blue-blind)
#009493
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #398ca2;
/* rgb */ color: rgb(57, 140, 162);
/* oklch */ color: oklch(59.9% 0.086 218.3);
Tailwind
colors: {
  custom: {
    50: '#7badbd',
    500: '#398ca2',
    950: '#000000',
  },
}
SCSS
$custom: #398ca2;
$custom-light: #7badbd;
$custom-dark: #000000;
JSON
{
  "hex": "#398ca2",
  "rgb": {
    "r": 57,
    "g": 140,
    "b": 162
  },
  "hsl": {
    "h": 192.571,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.59862,
    "c": 0.08566,
    "h": 218.3
  },
  "luminance": 0.22235
}

Semantic roles & 50–950 ramp

primary
#398CA2
secondary
#BD887A
accent
#6D50D8
background
#F8FAFB
surface
#EFF4F6
border
#CACED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #398CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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