#398AC7#398AC7

#398AC7 is a mid, vivid cyan. Relative luminance 0.232; OKLCH L 61.2% C 0.121 H 244.6°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#398AC7
RGBrgb(57, 138, 199)
HSLhsl(206, 56%, 50%)
HSVhsv(206, 71%, 78%)
CMYKcmyk(71.4%, 30.7%, 0%, 22%)
CIE-LABlab(55.24, -4.43, -38.71)
CIE-LCHlch(55.24, 38.97, 263.47°)
OKLaboklab(61.16% -0.052 -0.1096)
OKLCHoklch(61.16% 0.121 244.6)
XYZxyz(21.0807, 23.1680, 57.3826)
Luminance0.2317 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398AC7 #C77639
analogous
#39C7BD #398AC7 #3943C7
triadic
#398AC7 #C7398A #8AC739
tetradic
#398AC7 #BD39C7 #C77639 #43C739
square
#398AC7 #BD39C7 #C77639 #43C739
split-complementary
#398AC7 #C73943 #C7BD39
monochromatic
#1D4868 #2B6998 #398AC7 #69A6D4 #98C2E2

Accessibility & contrast

On white

3.73
#398AC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#398AC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398AC7
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398AC7#FFFFFF#000000##000000
##398AC71.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8CCA
Deuteranopia (green-blind)
#5B7EC6
Tritanopia (blue-blind)
#0099A0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #398ac7;
/* rgb */ color: rgb(57, 138, 199);
/* oklch */ color: oklch(61.2% 0.121 244.6);
Tailwind
colors: {
  custom: {
    50: '#81abd8',
    500: '#398ac7',
    950: '#000000',
  },
}
SCSS
$custom: #398ac7;
$custom-light: #81abd8;
$custom-dark: #000000;
JSON
{
  "hex": "#398ac7",
  "rgb": {
    "r": 57,
    "g": 138,
    "b": 199
  },
  "hsl": {
    "h": 205.775,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.61155,
    "c": 0.12129,
    "h": 244.6
  },
  "luminance": 0.2317
}

Semantic roles & 50–950 ramp

primary
#398AC7
secondary
#CEA98E
accent
#8949DF
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C1014
muted
#7D7F83

Preview Lab

Preview with #398AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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