#398EC1#398EC1

#398EC1 is a mid, moderate cyan. Relative luminance 0.241; OKLCH L 61.8% C 0.112 H 238.8°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#398EC1
RGBrgb(57, 142, 193)
HSLhsl(203, 54%, 49%)
HSVhsv(203, 70%, 76%)
CMYKcmyk(70.5%, 26.4%, 0%, 24.3%)
CIE-LABlab(56.15, -8.81, -33.89)
CIE-LCHlch(56.15, 35.02, 255.42°)
OKLaboklab(61.78% -0.0579 -0.0955)
OKLCHoklch(61.78% 0.112 238.8)
XYZxyz(20.9822, 24.0638, 53.9807)
Luminance0.2407 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398EC1 #C16C39
analogous
#39C1B0 #398EC1 #394AC1
triadic
#398EC1 #C1398E #8EC139
tetradic
#398EC1 #B039C1 #C16C39 #4AC139
square
#398EC1 #B039C1 #C16C39 #4AC139
split-complementary
#398EC1 #C1394A #C1B039
monochromatic
#1D4863 #2B6B92 #398EC1 #66A9D2 #95C4E0

Accessibility & contrast

On white

3.61
#398EC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#398EC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398EC1
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398EC1#FFFFFF#000000##000000
##398EC11.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#768EC3
Deuteranopia (green-blind)
#6481C0
Tritanopia (blue-blind)
#009BA0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #398ec1;
/* rgb */ color: rgb(57, 142, 193);
/* oklch */ color: oklch(61.8% 0.112 238.8);
Tailwind
colors: {
  custom: {
    50: '#80afd4',
    500: '#398ec1',
    950: '#000000',
  },
}
SCSS
$custom: #398ec1;
$custom-light: #80afd4;
$custom-dark: #000000;
JSON
{
  "hex": "#398ec1",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 193
  },
  "hsl": {
    "h": 202.5,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.61781,
    "c": 0.11169,
    "h": 238.8
  },
  "luminance": 0.24066
}

Semantic roles & 50–950 ramp

primary
#398EC1
secondary
#CBA38B
accent
#814ADE
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0B1014
muted
#7C7F83

Preview Lab

Preview with #398EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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