#398098#398098

#398098 is a mid, moderate cyan. Relative luminance 0.186; OKLCH L 56.5% C 0.080 H 223.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#398098
RGBrgb(57, 128, 152)
HSLhsl(195, 45%, 41%)
HSVhsv(195, 63%, 60%)
CMYKcmyk(62.5%, 15.8%, 0%, 40.4%)
CIE-LABlab(50.18, -14.65, -19.54)
CIE-LCHlch(50.18, 24.42, 233.14°)
OKLaboklab(56.46% -0.058 -0.0544)
OKLCHoklch(56.46% 0.08 223.2)
XYZxyz(15.0718, 18.5737, 32.4905)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398098 #985139
analogous
#399880 #398098 #395098
triadic
#398098 #983980 #809839
tetradic
#398098 #803998 #985139 #509839
square
#398098 #803998 #985139 #509839
split-complementary
#398098 #983950 #988039
monochromatic
#18353F #285B6B #398098 #51A2BE #7DBACE

Accessibility & contrast

On white

4.45
#398098 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#398098 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398098
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398098#FFFFFF#000000##000000
##3980981.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#727D99
Deuteranopia (green-blind)
#657398
Tritanopia (blue-blind)
#008788
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #398098;
/* rgb */ color: rgb(57, 128, 152);
/* oklch */ color: oklch(56.5% 0.080 223.2);
Tailwind
colors: {
  custom: {
    50: '#79a5b6',
    500: '#398098',
    950: '#000000',
  },
}
SCSS
$custom: #398098;
$custom-light: #79a5b6;
$custom-dark: #000000;
JSON
{
  "hex": "#398098",
  "rgb": {
    "r": 57,
    "g": 128,
    "b": 152
  },
  "hsl": {
    "h": 195.158,
    "s": 45.455,
    "l": 40.98
  },
  "oklch": {
    "l": 0.56462,
    "c": 0.0795,
    "h": 223.2
  },
  "luminance": 0.18575
}

Semantic roles & 50–950 ramp

primary
#398098
secondary
#B88675
accent
#7453D5
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #398098

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

Preview Lab → · Contrast checker → · Palette generator →

#398098 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva