#398EA4#398EA4

#398EA4 is a mid, moderate cyan. Relative luminance 0.229; OKLCH L 60.4% C 0.087 H 217.9°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#398EA4
RGBrgb(57, 142, 164)
HSLhsl(192, 48%, 43%)
HSVhsv(192, 65%, 64%)
CMYKcmyk(65.2%, 13.4%, 0%, 35.7%)
CIE-LABlab(54.96, -18.43, -19.18)
CIE-LCHlch(54.96, 26.60, 226.13°)
OKLaboklab(60.44% -0.0686 -0.0534)
OKLCHoklch(60.44% 0.087 217.9)
XYZxyz(18.0584, 22.8943, 38.5821)
Luminance0.2290 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398EA4 #A44F39
analogous
#39A484 #398EA4 #3959A4
triadic
#398EA4 #A4398E #8EA439
tetradic
#398EA4 #8439A4 #A44F39 #59A439
square
#398EA4 #8439A4 #A44F39 #59A439
split-complementary
#398EA4 #A43959 #A48439
monochromatic
#193F49 #296777 #398EA4 #56AEC4 #83C3D4

Accessibility & contrast

On white

3.76
#398EA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#398EA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398EA4
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398EA4#FFFFFF#000000##000000
##398EA41.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#808AA5
Deuteranopia (green-blind)
#707FA4
Tritanopia (blue-blind)
#009695
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #398ea4;
/* rgb */ color: rgb(57, 142, 164);
/* oklch */ color: oklch(60.4% 0.087 217.9);
Tailwind
colors: {
  custom: {
    50: '#7cafbf',
    500: '#398ea4',
    950: '#000000',
  },
}
SCSS
$custom: #398ea4;
$custom-light: #7cafbf;
$custom-dark: #000000;
JSON
{
  "hex": "#398ea4",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 164
  },
  "hsl": {
    "h": 192.336,
    "s": 48.416,
    "l": 43.333
  },
  "oklch": {
    "l": 0.60441,
    "c": 0.0869,
    "h": 217.9
  },
  "luminance": 0.22896
}

Semantic roles & 50–950 ramp

primary
#398EA4
secondary
#BE897B
accent
#6C50D8
background
#F8FAFB
surface
#EFF4F7
border
#CACED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #398EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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