#397ACC#397ACC

#397ACC is a mid, vivid cyan. Relative luminance 0.191; OKLCH L 57.8% C 0.143 H 255.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#397ACC
RGBrgb(57, 122, 204)
HSLhsl(213, 59%, 51%)
HSVhsv(213, 72%, 80%)
CMYKcmyk(72.1%, 40.2%, 0%, 20%)
CIE-LABlab(50.86, 6.93, -48.50)
CIE-LCHlch(50.86, 48.99, 278.13°)
OKLaboklab(57.8% -0.0355 -0.1384)
OKLCHoklch(57.8% 0.143 255.6)
XYZxyz(19.5420, 19.1464, 59.7808)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397ACC #CC8B39
analogous
#39C4CC #397ACC #4139CC
triadic
#397ACC #CC397A #7ACC39
tetradic
#397ACC #CC39C4 #CC8B39 #39CC41
square
#397ACC #CC39C4 #CC8B39 #39CC41
split-complementary
#397ACC #CC4139 #C4CC39
monochromatic
#1C416E #295D9F #397ACC #6A9BD9 #9ABBE5

Accessibility & contrast

On white

4.35
#397ACC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#397ACC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397ACC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397ACC#FFFFFF#000000##000000
##397ACC1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5380CF
Deuteranopia (green-blind)
#3C73CA
Tritanopia (blue-blind)
#008D99
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #397acc;
/* rgb */ color: rgb(57, 122, 204);
/* oklch */ color: oklch(57.8% 0.143 255.6);
Tailwind
colors: {
  custom: {
    50: '#819fdc',
    500: '#397acc',
    950: '#000000',
  },
}
SCSS
$custom: #397acc;
$custom-light: #819fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#397acc",
  "rgb": {
    "r": 57,
    "g": 122,
    "b": 204
  },
  "hsl": {
    "h": 213.469,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.578,
    "c": 0.14289,
    "h": 255.6
  },
  "luminance": 0.19149
}

Semantic roles & 50–950 ramp

primary
#397ACC
secondary
#D1B490
accent
#9D46E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #397ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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