#397BF2#397BF2

#397BF2 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.5% C 0.191 H 261.1°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#397BF2
RGBrgb(57, 123, 242)
HSLhsl(219, 88%, 59%)
HSVhsv(219, 76%, 95%)
CMYKcmyk(76.4%, 49.2%, 0%, 5.1%)
CIE-LABlab(53.43, 20.19, -65.75)
CIE-LCHlch(53.43, 68.78, 287.07°)
OKLaboklab(60.52% -0.0298 -0.1891)
OKLCHoklch(60.52% 0.191 261.1)
XYZxyz(24.7915, 21.4437, 86.8196)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397BF2 #F2B039
analogous
#39D7F2 #397BF2 #5339F2
triadic
#397BF2 #F2397B #7BF239
tetradic
#397BF2 #F239D7 #F2B039 #39F253
square
#397BF2 #F239D7 #F2B039 #39F253
split-complementary
#397BF2 #F25339 #D7F239
monochromatic
#0B42A6 #0F59DF #397BF2 #72A1F6 #ACC8FA

Accessibility & contrast

On white

3.97
#397BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#397BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397BF2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397BF2#FFFFFF#000000##000000
##397BF21.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3389F6
Deuteranopia (green-blind)
#0078F0
Tritanopia (blue-blind)
#0098AB
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #397bf2;
/* rgb */ color: rgb(57, 123, 242);
/* oklch */ color: oklch(60.5% 0.191 261.1);
Tailwind
colors: {
  custom: {
    50: '#89a0f7',
    500: '#397bf2',
    950: '#000000',
  },
}
SCSS
$custom: #397bf2;
$custom-light: #89a0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#397bf2",
  "rgb": {
    "r": 57,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 218.595,
    "s": 87.678,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60524,
    "c": 0.19145,
    "h": 261.1
  },
  "luminance": 0.21447
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #397BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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