#397CDE#397CDE

#397CDE is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.4% C 0.164 H 258.2°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#397CDE
RGBrgb(57, 124, 222)
HSLhsl(216, 71%, 55%)
HSVhsv(216, 74%, 87%)
CMYKcmyk(74.3%, 44.1%, 0%, 12.9%)
CIE-LABlab(52.46, 12.25, -56.12)
CIE-LCHlch(52.46, 57.45, 282.32°)
OKLaboklab(59.38% -0.0337 -0.1608)
OKLCHoklch(59.38% 0.164 258.2)
XYZxyz(22.0750, 20.5566, 71.8975)
Luminance0.2056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397CDE #DE9B39
analogous
#39CFDE #397CDE #4839DE
triadic
#397CDE #DE397C #7CDE39
tetradic
#397CDE #DE39CF #DE9B39 #39DE48
square
#397CDE #DE39CF #DE9B39 #39DE48
split-complementary
#397CDE #DE4839 #CFDE39
monochromatic
#164486 #1F5EBB #397CDE #6D9FE7 #A2C1EF

Accessibility & contrast

On white

4.11
#397CDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#397CDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397CDE
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397CDE#FFFFFF#000000##000000
##397CDE1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A85E2
Deuteranopia (green-blind)
#2976DC
Tritanopia (blue-blind)
#0093A2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #397cde;
/* rgb */ color: rgb(57, 124, 222);
/* oklch */ color: oklch(59.4% 0.164 258.2);
Tailwind
colors: {
  custom: {
    50: '#85a1e9',
    500: '#397cde',
    950: '#000000',
  },
}
SCSS
$custom: #397cde;
$custom-light: #85a1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#397cde",
  "rgb": {
    "r": 57,
    "g": 124,
    "b": 222
  },
  "hsl": {
    "h": 215.636,
    "s": 71.429,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59379,
    "c": 0.16427,
    "h": 258.2
  },
  "luminance": 0.20559
}

Semantic roles & 50–950 ramp

primary
#397CDE
secondary
#DCC097
accent
#A53AEE
background
#F8F9FE
surface
#F0F2FD
border
#CBCCD5
text
#0D0E16
muted
#7D7E84

Preview Lab

Preview with #397CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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