#398498#398498

#398498 is a mid, moderate cyan. Relative luminance 0.196; OKLCH L 57.5% C 0.079 H 218.1°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#398498
RGBrgb(57, 132, 152)
HSLhsl(193, 45%, 41%)
HSVhsv(193, 63%, 60%)
CMYKcmyk(62.5%, 13.2%, 0%, 40.4%)
CIE-LABlab(51.43, -16.85, -17.64)
CIE-LCHlch(51.43, 24.39, 226.32°)
OKLaboklab(57.46% -0.0625 -0.049)
OKLCHoklch(57.46% 0.079 218.1)
XYZxyz(15.6038, 19.6378, 32.6678)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398498 #984D39
analogous
#39987C #398498 #395498
triadic
#398498 #983984 #849839
tetradic
#398498 #7C3998 #984D39 #549839
square
#398498 #7C3998 #984D39 #549839
split-complementary
#398498 #983954 #987C39
monochromatic
#18373F #285D6B #398498 #51A7BE #7DBDCE

Accessibility & contrast

On white

4.26
#398498 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#398498 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398498
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398498#FFFFFF#000000##000000
##3984981.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#778099
Deuteranopia (green-blind)
#697698
Tritanopia (blue-blind)
#008B8A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #398498;
/* rgb */ color: rgb(57, 132, 152);
/* oklch */ color: oklch(57.5% 0.079 218.1);
Tailwind
colors: {
  custom: {
    50: '#7aa8b6',
    500: '#398498',
    950: '#000000',
  },
}
SCSS
$custom: #398498;
$custom-light: #7aa8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#398498",
  "rgb": {
    "r": 57,
    "g": 132,
    "b": 152
  },
  "hsl": {
    "h": 192.632,
    "s": 45.455,
    "l": 40.98
  },
  "oklch": {
    "l": 0.57455,
    "c": 0.07941,
    "h": 218.1
  },
  "luminance": 0.19639
}

Semantic roles & 50–950 ramp

primary
#398498
secondary
#B88375
accent
#6E53D5
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #398498

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

Preview Lab → · Contrast checker → · Palette generator →

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