#397FCB#397FCB

#397FCB is a mid, vivid cyan. Relative luminance 0.204; OKLCH L 58.9% C 0.136 H 252.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#397FCB
RGBrgb(57, 127, 203)
HSLhsl(211, 58%, 51%)
HSVhsv(211, 72%, 80%)
CMYKcmyk(71.9%, 37.4%, 0%, 20.4%)
CIE-LABlab(52.24, 3.52, -45.73)
CIE-LCHlch(52.24, 45.86, 274.40°)
OKLaboklab(58.86% -0.0404 -0.1302)
OKLCHoklch(58.86% 0.136 252.8)
XYZxyz(20.0522, 20.3582, 59.3611)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397FCB #CB8539
analogous
#39C8CB #397FCB #3C39CB
triadic
#397FCB #CB397F #7FCB39
tetradic
#397FCB #CB39C8 #CB8539 #39CB3C
square
#397FCB #CB39C8 #CB8539 #39CB3C
split-complementary
#397FCB #CB3C39 #C8CB39
monochromatic
#1D436D #29619D #397FCB #699ED8 #9ABEE4

Accessibility & contrast

On white

4.14
#397FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#397FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397FCB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397FCB#FFFFFF#000000##000000
##397FCB1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C84CE
Deuteranopia (green-blind)
#4676C9
Tritanopia (blue-blind)
#00919B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #397fcb;
/* rgb */ color: rgb(57, 127, 203);
/* oklch */ color: oklch(58.9% 0.136 252.8);
Tailwind
colors: {
  custom: {
    50: '#81a3db',
    500: '#397fcb',
    950: '#000000',
  },
}
SCSS
$custom: #397fcb;
$custom-light: #81a3db;
$custom-dark: #000000;
JSON
{
  "hex": "#397fcb",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 203
  },
  "hsl": {
    "h": 211.233,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5886,
    "c": 0.13634,
    "h": 252.8
  },
  "luminance": 0.2036
}

Semantic roles & 50–950 ramp

primary
#397FCB
secondary
#D0B190
accent
#9746E2
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #397FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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