#397CF2#397CF2

#397CF2 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.7% C 0.190 H 260.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#397CF2
RGBrgb(57, 124, 242)
HSLhsl(218, 88%, 59%)
HSVhsv(218, 76%, 95%)
CMYKcmyk(76.4%, 48.8%, 0%, 5.1%)
CIE-LABlab(53.70, 19.57, -65.32)
CIE-LCHlch(53.70, 68.19, 286.68°)
OKLaboklab(60.73% -0.0305 -0.1878)
OKLCHoklch(60.73% 0.19 260.8)
XYZxyz(24.9162, 21.6931, 86.8612)
Luminance0.2170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397CF2 #F2AF39
analogous
#39D9F2 #397CF2 #5239F2
triadic
#397CF2 #F2397C #7CF239
tetradic
#397CF2 #F239D9 #F2AF39 #39F252
square
#397CF2 #F239D9 #F2AF39 #39F252
split-complementary
#397CF2 #F25239 #D9F239
monochromatic
#0B43A6 #0F5ADF #397CF2 #72A2F6 #ACC8FA

Accessibility & contrast

On white

3.93
#397CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#397CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397CF2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397CF2#FFFFFF#000000##000000
##397CF21.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #397cf2;
/* rgb */ color: rgb(57, 124, 242);
/* oklch */ color: oklch(60.7% 0.190 260.8);
Tailwind
colors: {
  custom: {
    50: '#89a1f7',
    500: '#397cf2',
    950: '#000000',
  },
}
SCSS
$custom: #397cf2;
$custom-light: #89a1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#397cf2",
  "rgb": {
    "r": 57,
    "g": 124,
    "b": 242
  },
  "hsl": {
    "h": 218.27,
    "s": 87.678,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60729,
    "c": 0.19029,
    "h": 260.8
  },
  "luminance": 0.21696
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #397CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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