#398AC2#398AC2

#398AC2 is a mid, moderate cyan. Relative luminance 0.229; OKLCH L 60.9% C 0.116 H 242.4°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#398AC2
RGBrgb(57, 138, 194)
HSLhsl(205, 55%, 49%)
HSVhsv(205, 71%, 76%)
CMYKcmyk(70.6%, 28.9%, 0%, 23.9%)
CIE-LABlab(55.01, -6.18, -36.24)
CIE-LCHlch(55.01, 36.77, 260.33°)
OKLaboklab(60.89% -0.0536 -0.1024)
OKLCHoklch(60.89% 0.116 242.4)
XYZxyz(20.5097, 22.9396, 54.3754)
Luminance0.2294 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398AC2 #C27139
analogous
#39C2B6 #398AC2 #3945C2
triadic
#398AC2 #C2398A #8AC239
tetradic
#398AC2 #B639C2 #C27139 #45C239
square
#398AC2 #B639C2 #C27139 #45C239
split-complementary
#398AC2 #C23945 #C2B639
monochromatic
#1D4763 #2B6893 #398AC2 #66A6D2 #95C2E0

Accessibility & contrast

On white

3.76
#398AC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#398AC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398AC2
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398AC2#FFFFFF#000000##000000
##398AC21.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#708BC4
Deuteranopia (green-blind)
#5E7EC1
Tritanopia (blue-blind)
#00989E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #398ac2;
/* rgb */ color: rgb(57, 138, 194);
/* oklch */ color: oklch(60.9% 0.116 242.4);
Tailwind
colors: {
  custom: {
    50: '#80acd4',
    500: '#398ac2',
    950: '#000000',
  },
}
SCSS
$custom: #398ac2;
$custom-light: #80acd4;
$custom-dark: #000000;
JSON
{
  "hex": "#398ac2",
  "rgb": {
    "r": 57,
    "g": 138,
    "b": 194
  },
  "hsl": {
    "h": 204.526,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.60892,
    "c": 0.11555,
    "h": 242.4
  },
  "luminance": 0.22942
}

Semantic roles & 50–950 ramp

primary
#398AC2
secondary
#CBA68B
accent
#864ADE
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0B1014
muted
#7C7F83

Preview Lab

Preview with #398AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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