#397AF2#397AF2

#397AF2 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.3% C 0.193 H 261.3°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#397AF2
RGBrgb(57, 122, 242)
HSLhsl(219, 88%, 59%)
HSVhsv(219, 76%, 95%)
CMYKcmyk(76.4%, 49.6%, 0%, 5.1%)
CIE-LABlab(53.16, 20.81, -66.18)
CIE-LCHlch(53.16, 69.38, 287.46°)
OKLaboklab(60.32% -0.029 -0.1904)
OKLCHoklch(60.32% 0.193 261.3)
XYZxyz(24.6681, 21.1969, 86.7785)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397AF2 #F2B139
analogous
#39D6F2 #397AF2 #5439F2
triadic
#397AF2 #F2397A #7AF239
tetradic
#397AF2 #F239D6 #F2B139 #39F254
square
#397AF2 #F239D6 #F2B139 #39F254
split-complementary
#397AF2 #F25439 #D6F239
monochromatic
#0B41A6 #0F58DF #397AF2 #72A1F6 #ACC7FA

Accessibility & contrast

On white

4.01
#397AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#397AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397AF2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397AF2#FFFFFF#000000##000000
##397AF21.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3088F6
Deuteranopia (green-blind)
#0077F0
Tritanopia (blue-blind)
#0097AA
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #397af2;
/* rgb */ color: rgb(57, 122, 242);
/* oklch */ color: oklch(60.3% 0.193 261.3);
Tailwind
colors: {
  custom: {
    50: '#899ff7',
    500: '#397af2',
    950: '#000000',
  },
}
SCSS
$custom: #397af2;
$custom-light: #899ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#397af2",
  "rgb": {
    "r": 57,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 218.919,
    "s": 87.678,
    "l": 58.627
  },
  "oklch": {
    "l": 0.6032,
    "c": 0.19261,
    "h": 261.3
  },
  "luminance": 0.212
}

Semantic roles & 50–950 ramp

primary
#397AF2
secondary
#E8CE9F
accent
#B32AFE
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0D0E17
muted
#7E7E85

Preview Lab

Preview with #397AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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