#397AD7#397AD7

#397AD7 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.5% C 0.157 H 257.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#397AD7
RGBrgb(57, 122, 215)
HSLhsl(215, 66%, 53%)
HSVhsv(215, 73%, 84%)
CMYKcmyk(73.5%, 43.3%, 0%, 15.7%)
CIE-LABlab(51.49, 10.93, -53.73)
CIE-LCHlch(51.49, 54.83, 281.50°)
OKLaboklab(58.49% -0.0333 -0.1538)
OKLCHoklch(58.49% 0.157 257.8)
XYZxyz(20.9081, 19.6929, 66.9760)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397AD7 #D79639
analogous
#39C9D7 #397AD7 #4739D7
triadic
#397AD7 #D7397A #7AD739
tetradic
#397AD7 #D739C9 #D79639 #39D747
square
#397AD7 #D739C9 #D79639 #39D747
split-complementary
#397AD7 #D74739 #C9D739
monochromatic
#19427C #235DAF #397AD7 #6C9CE1 #9FBEEC

Accessibility & contrast

On white

4.25
#397AD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#397AD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397AD7
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397AD7#FFFFFF#000000##000000
##397AD71.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C83DB
Deuteranopia (green-blind)
#2E74D5
Tritanopia (blue-blind)
#00909E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #397ad7;
/* rgb */ color: rgb(57, 122, 215);
/* oklch */ color: oklch(58.5% 0.157 257.8);
Tailwind
colors: {
  custom: {
    50: '#839fe4',
    500: '#397ad7',
    950: '#000000',
  },
}
SCSS
$custom: #397ad7;
$custom-light: #839fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#397ad7",
  "rgb": {
    "r": 57,
    "g": 122,
    "b": 215
  },
  "hsl": {
    "h": 215.316,
    "s": 66.387,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58493,
    "c": 0.15734,
    "h": 257.8
  },
  "luminance": 0.19695
}

Semantic roles & 50–950 ramp

primary
#397AD7
secondary
#D8BC94
accent
#A33EE9
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E15
muted
#7D7E84

Preview Lab

Preview with #397AD7

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

Preview Lab → · Contrast checker → · Palette generator →

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