#397BCB#397BCB

#397BCB is a mid, vivid cyan. Relative luminance 0.193; OKLCH L 58.0% C 0.141 H 254.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#397BCB
RGBrgb(57, 123, 203)
HSLhsl(213, 58%, 51%)
HSVhsv(213, 72%, 80%)
CMYKcmyk(71.9%, 39.4%, 0%, 20.4%)
CIE-LABlab(51.09, 5.95, -47.56)
CIE-LCHlch(51.09, 47.93, 277.13°)
OKLaboklab(57.96% -0.0367 -0.1356)
OKLCHoklch(57.96% 0.141 254.9)
XYZxyz(19.5458, 19.3454, 59.1923)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397BCB #CB8939
analogous
#39C4CB #397BCB #4039CB
triadic
#397BCB #CB397B #7BCB39
tetradic
#397BCB #CB39C4 #CB8939 #39CB40
square
#397BCB #CB39C4 #CB8939 #39CB40
split-complementary
#397BCB #CB4039 #C4CB39
monochromatic
#1D416D #295E9D #397BCB #699BD8 #9ABCE4

Accessibility & contrast

On white

4.31
#397BCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#397BCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397BCB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397BCB#FFFFFF#000000##000000
##397BCB1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5681CE
Deuteranopia (green-blind)
#3F73C9
Tritanopia (blue-blind)
#008E99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #397bcb;
/* rgb */ color: rgb(57, 123, 203);
/* oklch */ color: oklch(58.0% 0.141 254.9);
Tailwind
colors: {
  custom: {
    50: '#81a0db',
    500: '#397bcb',
    950: '#000000',
  },
}
SCSS
$custom: #397bcb;
$custom-light: #81a0db;
$custom-dark: #000000;
JSON
{
  "hex": "#397bcb",
  "rgb": {
    "r": 57,
    "g": 123,
    "b": 203
  },
  "hsl": {
    "h": 212.877,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57962,
    "c": 0.14051,
    "h": 254.9
  },
  "luminance": 0.19348
}

Semantic roles & 50–950 ramp

primary
#397BCB
secondary
#D0B390
accent
#9B46E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #397BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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