#397EC9#397EC9

#397EC9 is a mid, vivid cyan. Relative luminance 0.200; OKLCH L 58.5% C 0.135 H 252.8°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#397EC9
RGBrgb(57, 126, 201)
HSLhsl(211, 57%, 51%)
HSVhsv(211, 72%, 79%)
CMYKcmyk(71.6%, 37.3%, 0%, 21.2%)
CIE-LABlab(51.84, 3.40, -45.22)
CIE-LCHlch(51.84, 45.35, 274.30°)
OKLaboklab(58.52% -0.04 -0.1287)
OKLCHoklch(58.52% 0.135 252.8)
XYZxyz(19.6869, 20.0065, 58.0711)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397EC9 #C98439
analogous
#39C6C9 #397EC9 #3C39C9
triadic
#397EC9 #C9397E #7EC939
tetradic
#397EC9 #C939C6 #C98439 #39C93C
square
#397EC9 #C939C6 #C98439 #39C93C
split-complementary
#397EC9 #C93C39 #C6C939
monochromatic
#1D426B #2A609B #397EC9 #699DD6 #99BDE3

Accessibility & contrast

On white

4.20
#397EC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#397EC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397EC9
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397EC9#FFFFFF#000000##000000
##397EC91.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C83CC
Deuteranopia (green-blind)
#4675C8
Tritanopia (blue-blind)
#00909A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #397ec9;
/* rgb */ color: rgb(57, 126, 201);
/* oklch */ color: oklch(58.5% 0.135 252.8);
Tailwind
colors: {
  custom: {
    50: '#81a2da',
    500: '#397ec9',
    950: '#000000',
  },
}
SCSS
$custom: #397ec9;
$custom-light: #81a2da;
$custom-dark: #000000;
JSON
{
  "hex": "#397ec9",
  "rgb": {
    "r": 57,
    "g": 126,
    "b": 201
  },
  "hsl": {
    "h": 211.25,
    "s": 57.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58516,
    "c": 0.13479,
    "h": 252.8
  },
  "luminance": 0.20009
}

Semantic roles & 50–950 ramp

primary
#397EC9
secondary
#CFB08F
accent
#9747E0
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #397EC9

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

Preview Lab → · Contrast checker → · Palette generator →

#397EC9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva