#398AC9#398AC9

#398AC9 is a mid, vivid cyan. Relative luminance 0.233; OKLCH L 61.3% C 0.124 H 245.4°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#398AC9
RGBrgb(57, 138, 201)
HSLhsl(206, 57%, 51%)
HSVhsv(206, 72%, 79%)
CMYKcmyk(71.6%, 31.3%, 0%, 21.2%)
CIE-LABlab(55.34, -3.73, -39.69)
CIE-LCHlch(55.34, 39.87, 264.63°)
OKLaboklab(61.26% -0.0514 -0.1124)
OKLCHoklch(61.26% 0.124 245.4)
XYZxyz(21.3144, 23.2615, 58.6136)
Luminance0.2326 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398AC9 #C97839
analogous
#39C9C0 #398AC9 #3942C9
triadic
#398AC9 #C9398A #8AC939
tetradic
#398AC9 #C039C9 #C97839 #42C939
square
#398AC9 #C039C9 #C97839 #42C939
split-complementary
#398AC9 #C93942 #C9C039
monochromatic
#1D496B #2A699B #398AC9 #69A6D6 #99C3E3

Accessibility & contrast

On white

3.71
#398AC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#398AC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398AC9
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398AC9#FFFFFF#000000##000000
##398AC91.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8CCC
Deuteranopia (green-blind)
#597EC8
Tritanopia (blue-blind)
#0099A0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #398ac9;
/* rgb */ color: rgb(57, 138, 201);
/* oklch */ color: oklch(61.3% 0.124 245.4);
Tailwind
colors: {
  custom: {
    50: '#81abd9',
    500: '#398ac9',
    950: '#000000',
  },
}
SCSS
$custom: #398ac9;
$custom-light: #81abd9;
$custom-dark: #000000;
JSON
{
  "hex": "#398ac9",
  "rgb": {
    "r": 57,
    "g": 138,
    "b": 201
  },
  "hsl": {
    "h": 206.25,
    "s": 57.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.61261,
    "c": 0.12363,
    "h": 245.4
  },
  "luminance": 0.23264
}

Semantic roles & 50–950 ramp

primary
#398AC9
secondary
#CFAB8F
accent
#8A47E0
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C1015
muted
#7D7F83

Preview Lab

Preview with #398AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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