#397DF2#397DF2

#397DF2 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 60.9% C 0.189 H 260.5°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#397DF2
RGBrgb(57, 125, 242)
HSLhsl(218, 88%, 59%)
HSVhsv(218, 76%, 95%)
CMYKcmyk(76.4%, 48.3%, 0%, 5.1%)
CIE-LABlab(53.97, 18.95, -64.88)
CIE-LCHlch(53.97, 67.59, 286.28°)
OKLaboklab(60.93% -0.0313 -0.1865)
OKLCHoklch(60.93% 0.189 260.5)
XYZxyz(25.0422, 21.9450, 86.9032)
Luminance0.2195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397DF2 #F2AE39
analogous
#39D9F2 #397DF2 #5139F2
triadic
#397DF2 #F2397D #7DF239
tetradic
#397DF2 #F239D9 #F2AE39 #39F251
square
#397DF2 #F239D9 #F2AE39 #39F251
split-complementary
#397DF2 #F25139 #D9F239
monochromatic
#0B44A6 #0F5BDF #397DF2 #72A3F6 #ACC8FA

Accessibility & contrast

On white

3.90
#397DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#397DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397DF2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397DF2#FFFFFF#000000##000000
##397DF21.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#388AF6
Deuteranopia (green-blind)
#0079F0
Tritanopia (blue-blind)
#0099AC
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #397df2;
/* rgb */ color: rgb(57, 125, 242);
/* oklch */ color: oklch(60.9% 0.189 260.5);
Tailwind
colors: {
  custom: {
    50: '#89a1f7',
    500: '#397df2',
    950: '#000000',
  },
}
SCSS
$custom: #397df2;
$custom-light: #89a1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#397df2",
  "rgb": {
    "r": 57,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 217.946,
    "s": 87.678,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60935,
    "c": 0.18913,
    "h": 260.5
  },
  "luminance": 0.21948
}

Semantic roles & 50–950 ramp

primary
#397DF2
secondary
#E8CD9F
accent
#B02AFE
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0D0E17
muted
#7E7E85

Preview Lab

Preview with #397DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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