#398EC4#398EC4

#398EC4 is a mid, moderate cyan. Relative luminance 0.242; OKLCH L 61.9% C 0.115 H 240.3°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#398EC4
RGBrgb(57, 142, 196)
HSLhsl(203, 55%, 50%)
HSVhsv(203, 71%, 77%)
CMYKcmyk(70.9%, 27.6%, 0%, 23.1%)
CIE-LABlab(56.29, -7.78, -35.38)
CIE-LCHlch(56.29, 36.23, 257.60°)
OKLaboklab(61.93% -0.0569 -0.0998)
OKLCHoklch(61.93% 0.115 240.3)
XYZxyz(21.3203, 24.1990, 55.7611)
Luminance0.2420 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398EC4 #C46F39
analogous
#39C4B5 #398EC4 #3949C4
triadic
#398EC4 #C4398E #8EC439
tetradic
#398EC4 #B539C4 #C46F39 #49C439
square
#398EC4 #B539C4 #C46F39 #49C439
split-complementary
#398EC4 #C43949 #C4B539
monochromatic
#1D4965 #2B6C95 #398EC4 #67A9D3 #97C4E1

Accessibility & contrast

On white

3.60
#398EC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#398EC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398EC4
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398EC4#FFFFFF#000000##000000
##398EC41.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#758EC6
Deuteranopia (green-blind)
#6281C3
Tritanopia (blue-blind)
#009BA1
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #398ec4;
/* rgb */ color: rgb(57, 142, 196);
/* oklch */ color: oklch(61.9% 0.115 240.3);
Tailwind
colors: {
  custom: {
    50: '#80aed6',
    500: '#398ec4',
    950: '#000000',
  },
}
SCSS
$custom: #398ec4;
$custom-light: #80aed6;
$custom-dark: #000000;
JSON
{
  "hex": "#398ec4",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 196
  },
  "hsl": {
    "h": 203.309,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.61932,
    "c": 0.11491,
    "h": 240.3
  },
  "luminance": 0.24201
}

Semantic roles & 50–950 ramp

primary
#398EC4
secondary
#CCA58D
accent
#834ADE
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0B1014
muted
#7C7F83

Preview Lab

Preview with #398EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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