#397BCA#397BCA

#397BCA is a mid, vivid cyan. Relative luminance 0.193; OKLCH L 57.9% C 0.139 H 254.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#397BCA
RGBrgb(57, 123, 202)
HSLhsl(213, 58%, 51%)
HSVhsv(213, 72%, 79%)
CMYKcmyk(71.8%, 39.1%, 0%, 20.8%)
CIE-LABlab(51.03, 5.59, -47.08)
CIE-LCHlch(51.03, 47.41, 276.77°)
OKLaboklab(57.9% -0.0369 -0.1342)
OKLCHoklch(57.9% 0.139 254.6)
XYZxyz(19.4270, 19.2979, 58.5667)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397BCA #CA8839
analogous
#39C3CA #397BCA #3F39CA
triadic
#397BCA #CA397B #7BCA39
tetradic
#397BCA #CA39C3 #CA8839 #39CA3F
square
#397BCA #CA39C3 #CA8839 #39CA3F
split-complementary
#397BCA #CA3F39 #C3CA39
monochromatic
#1D416C #2A5E9C #397BCA #699BD7 #9ABBE4

Accessibility & contrast

On white

4.32
#397BCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#397BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397BCA
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397BCA#FFFFFF#000000##000000
##397BCA1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5681CD
Deuteranopia (green-blind)
#4073C8
Tritanopia (blue-blind)
#008D99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #397bca;
/* rgb */ color: rgb(57, 123, 202);
/* oklch */ color: oklch(57.9% 0.139 254.6);
Tailwind
colors: {
  custom: {
    50: '#81a0da',
    500: '#397bca',
    950: '#000000',
  },
}
SCSS
$custom: #397bca;
$custom-light: #81a0da;
$custom-dark: #000000;
JSON
{
  "hex": "#397bca",
  "rgb": {
    "r": 57,
    "g": 123,
    "b": 202
  },
  "hsl": {
    "h": 212.69,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57901,
    "c": 0.13921,
    "h": 254.6
  },
  "luminance": 0.193
}

Semantic roles & 50–950 ramp

primary
#397BCA
secondary
#D0B28F
accent
#9B47E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #397BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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