#397BDF#397BDF

#397BDF is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.2% C 0.167 H 258.7°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#397BDF
RGBrgb(57, 123, 223)
HSLhsl(216, 72%, 55%)
HSVhsv(216, 74%, 87%)
CMYKcmyk(74.4%, 44.8%, 0%, 12.5%)
CIE-LABlab(52.24, 13.24, -57.04)
CIE-LCHlch(52.24, 58.55, 283.07°)
OKLaboklab(59.23% -0.0326 -0.1635)
OKLCHoklch(59.23% 0.167 258.7)
XYZxyz(22.0847, 20.3610, 72.5639)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397BDF #DF9D39
analogous
#39CEDF #397BDF #4A39DF
triadic
#397BDF #DF397B #7BDF39
tetradic
#397BDF #DF39CE #DF9D39 #39DF4A
square
#397BDF #DF39CE #DF9D39 #39DF4A
split-complementary
#397BDF #DF4A39 #CEDF39
monochromatic
#164388 #1E5DBC #397BDF #6E9EE8 #A2C1F0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397BDF#FFFFFF#000000##000000
##397BDF1.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)
#4785E3
Deuteranopia (green-blind)
#2476DD
Tritanopia (blue-blind)
#0093A2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #397bdf;
/* rgb */ color: rgb(57, 123, 223);
/* oklch */ color: oklch(59.2% 0.167 258.7);
Tailwind
colors: {
  custom: {
    50: '#85a0e9',
    500: '#397bdf',
    950: '#000000',
  },
}
SCSS
$custom: #397bdf;
$custom-light: #85a0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#397bdf",
  "rgb": {
    "r": 57,
    "g": 123,
    "b": 223
  },
  "hsl": {
    "h": 216.145,
    "s": 72.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5923,
    "c": 0.16671,
    "h": 258.7
  },
  "luminance": 0.20363
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #397BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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