#398ED9#398ED9

#398ED9 is a light, vivid cyan. Relative luminance 0.252; OKLCH L 63.1% C 0.139 H 248.7°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#398ED9
RGBrgb(57, 142, 217)
HSLhsl(208, 68%, 54%)
HSVhsv(208, 74%, 85%)
CMYKcmyk(73.7%, 34.6%, 0%, 14.9%)
CIE-LABlab(57.29, -0.41, -45.62)
CIE-LCHlch(57.29, 45.63, 269.48°)
OKLaboklab(63.06% -0.0506 -0.1297)
OKLCHoklch(63.06% 0.139 248.7)
XYZxyz(23.8800, 25.2229, 69.2421)
Luminance0.2523 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398ED9 #D98439
analogous
#39D9D4 #398ED9 #393ED9
triadic
#398ED9 #D9398E #8ED939
tetradic
#398ED9 #D439D9 #D98439 #3ED939
square
#398ED9 #D439D9 #D98439 #3ED939
split-complementary
#398ED9 #D9393E #D9D439
monochromatic
#184F7F #226FB3 #398ED9 #6CABE3 #A0C9ED

Accessibility & contrast

On white

3.47
#398ED9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#398ED9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398ED9
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398ED9#FFFFFF#000000##000000
##398ED91.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C92DC
Deuteranopia (green-blind)
#5483D8
Tritanopia (blue-blind)
#00A0A9
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #398ed9;
/* rgb */ color: rgb(57, 142, 217);
/* oklch */ color: oklch(63.1% 0.139 248.7);
Tailwind
colors: {
  custom: {
    50: '#84aee5',
    500: '#398ed9',
    950: '#000000',
  },
}
SCSS
$custom: #398ed9;
$custom-light: #84aee5;
$custom-dark: #000000;
JSON
{
  "hex": "#398ed9",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 217
  },
  "hsl": {
    "h": 208.125,
    "s": 67.797,
    "l": 53.725
  },
  "oklch": {
    "l": 0.63056,
    "c": 0.13922,
    "h": 248.7
  },
  "luminance": 0.25226
}

Semantic roles & 50–950 ramp

primary
#398ED9
secondary
#D9B595
accent
#8E3DEB
background
#F8FAFE
surface
#F0F4FC
border
#CBCED5
text
#0C1016
muted
#7D7F84

Preview Lab

Preview with #398ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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