#397FCA#397FCA

#397FCA is a mid, vivid cyan. Relative luminance 0.203; OKLCH L 58.8% C 0.135 H 252.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#397FCA
RGBrgb(57, 127, 202)
HSLhsl(211, 58%, 51%)
HSVhsv(211, 72%, 79%)
CMYKcmyk(71.8%, 37.1%, 0%, 20.8%)
CIE-LABlab(52.19, 3.16, -45.25)
CIE-LCHlch(52.19, 45.36, 273.99°)
OKLaboklab(58.8% -0.0407 -0.1288)
OKLCHoklch(58.8% 0.135 252.5)
XYZxyz(19.9334, 20.3107, 58.7355)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397FCA #CA8439
analogous
#39C8CA #397FCA #3B39CA
triadic
#397FCA #CA397F #7FCA39
tetradic
#397FCA #CA39C8 #CA8439 #39CA3B
square
#397FCA #CA39C8 #CA8439 #39CA3B
split-complementary
#397FCA #CA3B39 #C8CA39
monochromatic
#1D436C #2A619C #397FCA #699ED7 #9ABDE4

Accessibility & contrast

On white

4.15
#397FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#397FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397FCA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397FCA#FFFFFF#000000##000000
##397FCA1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D84CD
Deuteranopia (green-blind)
#4776C9
Tritanopia (blue-blind)
#00919B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #397fca;
/* rgb */ color: rgb(57, 127, 202);
/* oklch */ color: oklch(58.8% 0.135 252.5);
Tailwind
colors: {
  custom: {
    50: '#81a3da',
    500: '#397fca',
    950: '#000000',
  },
}
SCSS
$custom: #397fca;
$custom-light: #81a3da;
$custom-dark: #000000;
JSON
{
  "hex": "#397fca",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 202
  },
  "hsl": {
    "h": 211.034,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58801,
    "c": 0.13506,
    "h": 252.5
  },
  "luminance": 0.20313
}

Semantic roles & 50–950 ramp

primary
#397FCA
secondary
#D0B18F
accent
#9747E1
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #397FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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