#397BCC#397BCC

#397BCC is a mid, vivid cyan. Relative luminance 0.194; OKLCH L 58.0% C 0.142 H 255.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#397BCC
RGBrgb(57, 123, 204)
HSLhsl(213, 59%, 51%)
HSVhsv(213, 72%, 80%)
CMYKcmyk(72.1%, 39.7%, 0%, 20%)
CIE-LABlab(51.14, 6.31, -48.04)
CIE-LCHlch(51.14, 48.45, 277.49°)
OKLaboklab(58.02% -0.0365 -0.137)
OKLCHoklch(58.02% 0.142 255.1)
XYZxyz(19.6654, 19.3933, 59.8219)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397BCC #CC8A39
analogous
#39C4CC #397BCC #4039CC
triadic
#397BCC #CC397B #7BCC39
tetradic
#397BCC #CC39C4 #CC8A39 #39CC40
square
#397BCC #CC39C4 #CC8A39 #39CC40
split-complementary
#397BCC #CC4039 #C4CC39
monochromatic
#1C416E #295E9F #397BCC #6A9BD9 #9ABCE5

Accessibility & contrast

On white

4.30
#397BCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#397BCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397BCC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397BCC#FFFFFF#000000##000000
##397BCC1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5581CF
Deuteranopia (green-blind)
#3E74CA
Tritanopia (blue-blind)
#008E99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #397bcc;
/* rgb */ color: rgb(57, 123, 204);
/* oklch */ color: oklch(58.0% 0.142 255.1);
Tailwind
colors: {
  custom: {
    50: '#81a0dc',
    500: '#397bcc',
    950: '#000000',
  },
}
SCSS
$custom: #397bcc;
$custom-light: #81a0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#397bcc",
  "rgb": {
    "r": 57,
    "g": 123,
    "b": 204
  },
  "hsl": {
    "h": 213.061,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58023,
    "c": 0.14182,
    "h": 255.1
  },
  "luminance": 0.19395
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #397BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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