#398CC5#398CC5

#398CC5 is a mid, moderate cyan. Relative luminance 0.237; OKLCH L 61.5% C 0.117 H 242.3°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#398CC5
RGBrgb(57, 140, 197)
HSLhsl(204, 55%, 50%)
HSVhsv(204, 71%, 77%)
CMYKcmyk(71.1%, 28.9%, 0%, 22.7%)
CIE-LABlab(55.74, -6.29, -36.80)
CIE-LCHlch(55.74, 37.33, 260.31°)
OKLaboklab(61.52% -0.0546 -0.104)
OKLCHoklch(61.52% 0.117 242.3)
XYZxyz(21.1396, 23.6549, 56.2642)
Luminance0.2366 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398CC5 #C57239
analogous
#39C5B8 #398CC5 #3946C5
triadic
#398CC5 #C5398C #8CC539
tetradic
#398CC5 #B839C5 #C57239 #46C539
square
#398CC5 #B839C5 #C57239 #46C539
split-complementary
#398CC5 #C53946 #C5B839
monochromatic
#1E4966 #2B6A96 #398CC5 #68A8D3 #97C3E1

Accessibility & contrast

On white

3.66
#398CC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#398CC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398CC5
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398CC5#FFFFFF#000000##000000
##398CC51.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#728DC8
Deuteranopia (green-blind)
#5F80C4
Tritanopia (blue-blind)
#009AA0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #398cc5;
/* rgb */ color: rgb(57, 140, 197);
/* oklch */ color: oklch(61.5% 0.117 242.3);
Tailwind
colors: {
  custom: {
    50: '#80add7',
    500: '#398cc5',
    950: '#000000',
  },
}
SCSS
$custom: #398cc5;
$custom-light: #80add7;
$custom-dark: #000000;
JSON
{
  "hex": "#398cc5",
  "rgb": {
    "r": 57,
    "g": 140,
    "b": 197
  },
  "hsl": {
    "h": 204.429,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.61515,
    "c": 0.11745,
    "h": 242.3
  },
  "luminance": 0.23657
}

Semantic roles & 50–950 ramp

primary
#398CC5
secondary
#CDA78D
accent
#8649DE
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C1014
muted
#7D7F83

Preview Lab

Preview with #398CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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