#398EC2#398EC2

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

Color values

HEX#398EC2
RGBrgb(57, 142, 194)
HSLhsl(203, 55%, 49%)
HSVhsv(203, 71%, 76%)
CMYKcmyk(70.6%, 26.8%, 0%, 23.9%)
CIE-LABlab(56.20, -8.47, -34.39)
CIE-LCHlch(56.20, 35.42, 256.17°)
OKLaboklab(61.83% -0.0575 -0.097)
OKLCHoklch(61.83% 0.113 239.3)
XYZxyz(21.0942, 24.1086, 54.5702)
Luminance0.2411 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398EC2 #C26D39
analogous
#39C2B2 #398EC2 #3949C2
triadic
#398EC2 #C2398E #8EC239
tetradic
#398EC2 #B239C2 #C26D39 #49C239
square
#398EC2 #B239C2 #C26D39 #49C239
split-complementary
#398EC2 #C23949 #C2B239
monochromatic
#1D4963 #2B6B93 #398EC2 #66A9D2 #95C4E0

Accessibility & contrast

On white

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

On black

5.82
#398EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398EC2
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398EC2#FFFFFF#000000##000000
##398EC21.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#768EC4
Deuteranopia (green-blind)
#6381C1
Tritanopia (blue-blind)
#009BA0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #398ec2;
/* rgb */ color: rgb(57, 142, 194);
/* oklch */ color: oklch(61.8% 0.113 239.3);
Tailwind
colors: {
  custom: {
    50: '#80aed4',
    500: '#398ec2',
    950: '#000000',
  },
}
SCSS
$custom: #398ec2;
$custom-light: #80aed4;
$custom-dark: #000000;
JSON
{
  "hex": "#398ec2",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 194
  },
  "hsl": {
    "h": 202.774,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.61831,
    "c": 0.11275,
    "h": 239.3
  },
  "luminance": 0.24111
}

Semantic roles & 50–950 ramp

primary
#398EC2
secondary
#CBA48B
accent
#824ADE
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0B1014
muted
#7C7F83

Preview Lab

Preview with #398EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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