#398CC7#398CC7

#398CC7 is a mid, moderate cyan. Relative luminance 0.237; OKLCH L 61.6% C 0.120 H 243.2°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#398CC7
RGBrgb(57, 140, 199)
HSLhsl(205, 56%, 50%)
HSVhsv(205, 71%, 78%)
CMYKcmyk(71.4%, 29.6%, 0%, 22%)
CIE-LABlab(55.83, -5.59, -37.79)
CIE-LCHlch(55.83, 38.20, 261.58°)
OKLaboklab(61.62% -0.054 -0.1068)
OKLCHoklch(61.62% 0.12 243.2)
XYZxyz(21.3703, 23.7472, 57.4791)
Luminance0.2375 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398CC7 #C77439
analogous
#39C7BB #398CC7 #3945C7
triadic
#398CC7 #C7398C #8CC739
tetradic
#398CC7 #BB39C7 #C77439 #45C739
square
#398CC7 #BB39C7 #C77439 #45C739
split-complementary
#398CC7 #C73945 #C7BB39
monochromatic
#1D4968 #2B6B98 #398CC7 #69A8D4 #98C3E2

Accessibility & contrast

On white

3.65
#398CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#398CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398CC7
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398CC7#FFFFFF#000000##000000
##398CC71.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#718DCA
Deuteranopia (green-blind)
#5D80C6
Tritanopia (blue-blind)
#009AA1
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #398cc7;
/* rgb */ color: rgb(57, 140, 199);
/* oklch */ color: oklch(61.6% 0.120 243.2);
Tailwind
colors: {
  custom: {
    50: '#81add8',
    500: '#398cc7',
    950: '#000000',
  },
}
SCSS
$custom: #398cc7;
$custom-light: #81add8;
$custom-dark: #000000;
JSON
{
  "hex": "#398cc7",
  "rgb": {
    "r": 57,
    "g": 140,
    "b": 199
  },
  "hsl": {
    "h": 204.93,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.6162,
    "c": 0.11971,
    "h": 243.2
  },
  "luminance": 0.2375
}

Semantic roles & 50–950 ramp

primary
#398CC7
secondary
#CEA98E
accent
#8749DF
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C1014
muted
#7D7F83

Preview Lab

Preview with #398CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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