#397FE2#397FE2

#397FE2 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.3% C 0.166 H 257.7°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#397FE2
RGBrgb(57, 127, 226)
HSLhsl(215, 74%, 55%)
HSVhsv(215, 75%, 89%)
CMYKcmyk(74.8%, 43.8%, 0%, 11.4%)
CIE-LABlab(53.53, 11.87, -56.65)
CIE-LCHlch(53.53, 57.88, 281.83°)
OKLaboklab(60.28% -0.0354 -0.1623)
OKLCHoklch(60.28% 0.166 257.7)
XYZxyz(22.9992, 21.5370, 74.8817)
Luminance0.2154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397FE2 #E29C39
analogous
#39D3E2 #397FE2 #4739E2
triadic
#397FE2 #E2397F #7FE239
tetradic
#397FE2 #E239D3 #E29C39 #39E247
square
#397FE2 #E239D3 #E29C39 #39E247
split-complementary
#397FE2 #E24739 #D3E239
monochromatic
#15468C #1C61C1 #397FE2 #6EA2EA #A4C4F2

Accessibility & contrast

On white

3.96
#397FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#397FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397FE2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397FE2#FFFFFF#000000##000000
##397FE21.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D88E6
Deuteranopia (green-blind)
#2B79E0
Tritanopia (blue-blind)
#0096A5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #397fe2;
/* rgb */ color: rgb(57, 127, 226);
/* oklch */ color: oklch(60.3% 0.166 257.7);
Tailwind
colors: {
  custom: {
    50: '#85a3ec',
    500: '#397fe2',
    950: '#000000',
  },
}
SCSS
$custom: #397fe2;
$custom-light: #85a3ec;
$custom-dark: #000000;
JSON
{
  "hex": "#397fe2",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 226
  },
  "hsl": {
    "h": 215.148,
    "s": 74.449,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60283,
    "c": 0.1661,
    "h": 257.7
  },
  "luminance": 0.2154
}

Semantic roles & 50–950 ramp

primary
#397FE2
secondary
#DFC198
accent
#A437F1
background
#F9FAFE
surface
#F1F3FD
border
#CBCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #397FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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