#397ADF#397ADF

#397ADF is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.0% C 0.168 H 259.1°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#397ADF
RGBrgb(57, 122, 223)
HSLhsl(217, 72%, 55%)
HSVhsv(217, 74%, 87%)
CMYKcmyk(74.4%, 45.3%, 0%, 12.5%)
CIE-LABlab(51.97, 13.86, -57.48)
CIE-LCHlch(51.97, 59.13, 283.55°)
OKLaboklab(59.02% -0.0318 -0.1648)
OKLCHoklch(59.02% 0.168 259.1)
XYZxyz(21.9613, 20.1142, 72.5227)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397ADF #DF9E39
analogous
#39CDDF #397ADF #4B39DF
triadic
#397ADF #DF397A #7ADF39
tetradic
#397ADF #DF39CD #DF9E39 #39DF4B
square
#397ADF #DF39CD #DF9E39 #39DF4B
split-complementary
#397ADF #DF4B39 #CDDF39
monochromatic
#164288 #1E5CBC #397ADF #6E9DE8 #A2C1F0

Accessibility & contrast

On white

4.18
#397ADF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#397ADF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397ADF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397ADF#FFFFFF#000000##000000
##397ADF1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4584E3
Deuteranopia (green-blind)
#2075DD
Tritanopia (blue-blind)
#0092A2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #397adf;
/* rgb */ color: rgb(57, 122, 223);
/* oklch */ color: oklch(59.0% 0.168 259.1);
Tailwind
colors: {
  custom: {
    50: '#859fe9',
    500: '#397adf',
    950: '#000000',
  },
}
SCSS
$custom: #397adf;
$custom-light: #859fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#397adf",
  "rgb": {
    "r": 57,
    "g": 122,
    "b": 223
  },
  "hsl": {
    "h": 216.506,
    "s": 72.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59016,
    "c": 0.16784,
    "h": 259.1
  },
  "luminance": 0.20117
}

Semantic roles & 50–950 ramp

primary
#397ADF
secondary
#DDC197
accent
#A839EF
background
#F8F9FE
surface
#F0F2FD
border
#CBCCD5
text
#0D0E16
muted
#7D7E84

Preview Lab

Preview with #397ADF

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

Preview Lab → · Contrast checker → · Palette generator →

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