#398EC7#398EC7

#398EC7 is a light, moderate cyan. Relative luminance 0.243; OKLCH L 62.1% C 0.118 H 241.8°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#398EC7
RGBrgb(57, 142, 199)
HSLhsl(204, 56%, 50%)
HSVhsv(204, 71%, 78%)
CMYKcmyk(71.4%, 28.6%, 0%, 22%)
CIE-LABlab(56.42, -6.74, -36.86)
CIE-LCHlch(56.42, 37.47, 259.64°)
OKLaboklab(62.09% -0.0559 -0.1041)
OKLCHoklch(62.09% 0.118 241.8)
XYZxyz(21.6652, 24.3370, 57.5774)
Luminance0.2434 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398EC7 #C77239
analogous
#39C7B9 #398EC7 #3947C7
triadic
#398EC7 #C7398E #8EC739
tetradic
#398EC7 #B939C7 #C77239 #47C739
square
#398EC7 #B939C7 #C77239 #47C739
split-complementary
#398EC7 #C73947 #C7B939
monochromatic
#1D4A68 #2B6C98 #398EC7 #69A9D4 #98C4E2

Accessibility & contrast

On white

3.58
#398EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#398EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398EC7
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398EC7#FFFFFF#000000##000000
##398EC71.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#748FCA
Deuteranopia (green-blind)
#6081C6
Tritanopia (blue-blind)
#009CA2
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #398ec7;
/* rgb */ color: rgb(57, 142, 199);
/* oklch */ color: oklch(62.1% 0.118 241.8);
Tailwind
colors: {
  custom: {
    50: '#81aed8',
    500: '#398ec7',
    950: '#000000',
  },
}
SCSS
$custom: #398ec7;
$custom-light: #81aed8;
$custom-dark: #000000;
JSON
{
  "hex": "#398ec7",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 199
  },
  "hsl": {
    "h": 204.085,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.62086,
    "c": 0.11821,
    "h": 241.8
  },
  "luminance": 0.24339
}

Semantic roles & 50–950 ramp

primary
#398EC7
secondary
#CEA88E
accent
#8549DF
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C1014
muted
#7D7F83

Preview Lab

Preview with #398EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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