#397CCB#397CCB

#397CCB is a mid, vivid cyan. Relative luminance 0.196; OKLCH L 58.2% C 0.139 H 254.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#397CCB
RGBrgb(57, 124, 203)
HSLhsl(212, 58%, 51%)
HSVhsv(212, 72%, 80%)
CMYKcmyk(71.9%, 38.9%, 0%, 20.4%)
CIE-LABlab(51.38, 5.34, -47.10)
CIE-LCHlch(51.38, 47.40, 276.47°)
OKLaboklab(58.18% -0.0376 -0.1343)
OKLCHoklch(58.18% 0.139 254.3)
XYZxyz(19.6705, 19.5948, 59.2338)
Luminance0.1960 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397CCB #CB8839
analogous
#39C5CB #397CCB #3F39CB
triadic
#397CCB #CB397C #7CCB39
tetradic
#397CCB #CB39C5 #CB8839 #39CB3F
square
#397CCB #CB39C5 #CB8839 #39CB3F
split-complementary
#397CCB #CB3F39 #C5CB39
monochromatic
#1D416D #295F9D #397CCB #699CD8 #9ABCE4

Accessibility & contrast

On white

4.27
#397CCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#397CCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397CCB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397CCB#FFFFFF#000000##000000
##397CCB1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5782CE
Deuteranopia (green-blind)
#4174C9
Tritanopia (blue-blind)
#008E9A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #397ccb;
/* rgb */ color: rgb(57, 124, 203);
/* oklch */ color: oklch(58.2% 0.139 254.3);
Tailwind
colors: {
  custom: {
    50: '#81a1db',
    500: '#397ccb',
    950: '#000000',
  },
}
SCSS
$custom: #397ccb;
$custom-light: #81a1db;
$custom-dark: #000000;
JSON
{
  "hex": "#397ccb",
  "rgb": {
    "r": 57,
    "g": 124,
    "b": 203
  },
  "hsl": {
    "h": 212.466,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58185,
    "c": 0.13945,
    "h": 254.3
  },
  "luminance": 0.19597
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #397CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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