#397ED1#397ED1

#397ED1 is a mid, vivid cyan. Relative luminance 0.204; OKLCH L 59.0% C 0.145 H 254.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#397ED1
RGBrgb(57, 126, 209)
HSLhsl(213, 62%, 52%)
HSVhsv(213, 73%, 82%)
CMYKcmyk(72.7%, 39.7%, 0%, 18%)
CIE-LABlab(52.28, 6.29, -49.07)
CIE-LCHlch(52.28, 49.48, 277.31°)
OKLaboklab(59% -0.0381 -0.14)
OKLCHoklch(59% 0.145 254.8)
XYZxyz(20.6526, 20.3927, 63.1570)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397ED1 #D18C39
analogous
#39CAD1 #397ED1 #4039D1
triadic
#397ED1 #D1397E #7ED139
tetradic
#397ED1 #D139CA #D18C39 #39D140
square
#397ED1 #D139CA #D18C39 #39D140
split-complementary
#397ED1 #D14039 #CAD139
monochromatic
#1B4475 #2761A6 #397ED1 #6B9EDD #9CBFE8

Accessibility & contrast

On white

4.13
#397ED1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#397ED1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397ED1
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397ED1#FFFFFF#000000##000000
##397ED11.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5784D4
Deuteranopia (green-blind)
#3F76CF
Tritanopia (blue-blind)
#00919D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #397ed1;
/* rgb */ color: rgb(57, 126, 209);
/* oklch */ color: oklch(59.0% 0.145 254.8);
Tailwind
colors: {
  custom: {
    50: '#82a2df',
    500: '#397ed1',
    950: '#000000',
  },
}
SCSS
$custom: #397ed1;
$custom-light: #82a2df;
$custom-dark: #000000;
JSON
{
  "hex": "#397ed1",
  "rgb": {
    "r": 57,
    "g": 126,
    "b": 209
  },
  "hsl": {
    "h": 212.763,
    "s": 62.295,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58996,
    "c": 0.14511,
    "h": 254.8
  },
  "luminance": 0.20395
}

Semantic roles & 50–950 ramp

primary
#397ED1
secondary
#D4B692
accent
#9B42E5
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #397ED1

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

Preview Lab → · Contrast checker → · Palette generator →

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