#398EC3#398EC3

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

Color values

HEX#398EC3
RGBrgb(57, 142, 195)
HSLhsl(203, 55%, 49%)
HSVhsv(203, 71%, 76%)
CMYKcmyk(70.8%, 27.2%, 0%, 23.5%)
CIE-LABlab(56.24, -8.12, -34.88)
CIE-LCHlch(56.24, 35.82, 256.89°)
OKLaboklab(61.88% -0.0572 -0.0984)
OKLCHoklch(61.88% 0.114 239.8)
XYZxyz(21.2068, 24.1536, 55.1636)
Luminance0.2416 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398EC3 #C36E39
analogous
#39C3B3 #398EC3 #3949C3
triadic
#398EC3 #C3398E #8EC339
tetradic
#398EC3 #B339C3 #C36E39 #49C339
square
#398EC3 #B339C3 #C36E39 #49C339
split-complementary
#398EC3 #C33949 #C3B339
monochromatic
#1D4964 #2B6C94 #398EC3 #67A9D2 #96C4E0

Accessibility & contrast

On white

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

On black

5.83
#398EC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398EC3
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398EC3#FFFFFF#000000##000000
##398EC31.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#758EC5
Deuteranopia (green-blind)
#6281C2
Tritanopia (blue-blind)
#009BA0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #398ec3;
/* rgb */ color: rgb(57, 142, 195);
/* oklch */ color: oklch(61.9% 0.114 239.8);
Tailwind
colors: {
  custom: {
    50: '#80aed5',
    500: '#398ec3',
    950: '#000000',
  },
}
SCSS
$custom: #398ec3;
$custom-light: #80aed5;
$custom-dark: #000000;
JSON
{
  "hex": "#398ec3",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 195
  },
  "hsl": {
    "h": 203.043,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.61882,
    "c": 0.11383,
    "h": 239.8
  },
  "luminance": 0.24156
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #398EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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