#397DD4#397DD4

#397DD4 is a mid, vivid cyan. Relative luminance 0.203; OKLCH L 59.0% C 0.150 H 255.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#397DD4
RGBrgb(57, 125, 212)
HSLhsl(214, 64%, 53%)
HSVhsv(214, 73%, 83%)
CMYKcmyk(73.1%, 41%, 0%, 16.9%)
CIE-LABlab(52.16, 7.99, -50.96)
CIE-LCHlch(52.16, 51.58, 278.91°)
OKLaboklab(58.96% -0.0365 -0.1456)
OKLCHoklch(58.96% 0.15 255.9)
XYZxyz(20.9002, 20.2882, 65.0891)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397DD4 #D49039
analogous
#39CBD4 #397DD4 #4239D4
triadic
#397DD4 #D4397D #7DD439
tetradic
#397DD4 #D439CB #D49039 #39D442
square
#397DD4 #D439CB #D49039 #39D442
split-complementary
#397DD4 #D44239 #CBD439
monochromatic
#1A4478 #2560AB #397DD4 #6B9EDF #9EBFEA

Accessibility & contrast

On white

4.15
#397DD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#397DD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397DD4
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397DD4#FFFFFF#000000##000000
##397DD41.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5384D7
Deuteranopia (green-blind)
#3976D2
Tritanopia (blue-blind)
#00919E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #397dd4;
/* rgb */ color: rgb(57, 125, 212);
/* oklch */ color: oklch(59.0% 0.150 255.9);
Tailwind
colors: {
  custom: {
    50: '#83a2e2',
    500: '#397dd4',
    950: '#000000',
  },
}
SCSS
$custom: #397dd4;
$custom-light: #83a2e2;
$custom-dark: #000000;
JSON
{
  "hex": "#397dd4",
  "rgb": {
    "r": 57,
    "g": 125,
    "b": 212
  },
  "hsl": {
    "h": 213.677,
    "s": 64.315,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58959,
    "c": 0.15009,
    "h": 255.9
  },
  "luminance": 0.20291
}

Semantic roles & 50–950 ramp

primary
#397DD4
secondary
#D6B993
accent
#9E40E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #397DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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