#398AC1#398AC1

#398AC1 is a mid, moderate cyan. Relative luminance 0.229; OKLCH L 60.8% C 0.114 H 241.9°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#398AC1
RGBrgb(57, 138, 193)
HSLhsl(204, 54%, 49%)
HSVhsv(204, 70%, 76%)
CMYKcmyk(70.5%, 28.5%, 0%, 24.3%)
CIE-LABlab(54.96, -6.52, -35.75)
CIE-LCHlch(54.96, 36.34, 259.66°)
OKLaboklab(60.84% -0.0539 -0.1009)
OKLCHoklch(60.84% 0.114 241.9)
XYZxyz(20.3978, 22.8948, 53.7859)
Luminance0.2290 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398AC1 #C17039
analogous
#39C1B4 #398AC1 #3946C1
triadic
#398AC1 #C1398A #8AC139
tetradic
#398AC1 #B439C1 #C17039 #46C139
square
#398AC1 #B439C1 #C17039 #46C139
split-complementary
#398AC1 #C13946 #C1B439
monochromatic
#1D4663 #2B6892 #398AC1 #66A6D2 #95C1E0

Accessibility & contrast

On white

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

On black

5.58
#398AC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398AC1
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398AC1#FFFFFF#000000##000000
##398AC11.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#718BC3
Deuteranopia (green-blind)
#5E7EC0
Tritanopia (blue-blind)
#00989D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #398ac1;
/* rgb */ color: rgb(57, 138, 193);
/* oklch */ color: oklch(60.8% 0.114 241.9);
Tailwind
colors: {
  custom: {
    50: '#80acd4',
    500: '#398ac1',
    950: '#000000',
  },
}
SCSS
$custom: #398ac1;
$custom-light: #80acd4;
$custom-dark: #000000;
JSON
{
  "hex": "#398ac1",
  "rgb": {
    "r": 57,
    "g": 138,
    "b": 193
  },
  "hsl": {
    "h": 204.265,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.6084,
    "c": 0.11443,
    "h": 241.9
  },
  "luminance": 0.22897
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #398AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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