#397EE2#397EE2

#397EE2 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.1% C 0.167 H 258.1°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#397EE2
RGBrgb(57, 126, 226)
HSLhsl(216, 74%, 55%)
HSVhsv(216, 75%, 89%)
CMYKcmyk(74.8%, 44.2%, 0%, 11.4%)
CIE-LABlab(53.25, 12.48, -57.10)
CIE-LCHlch(53.25, 58.45, 282.33°)
OKLaboklab(60.07% -0.0346 -0.1636)
OKLCHoklch(60.07% 0.167 258.1)
XYZxyz(22.8706, 21.2800, 74.8388)
Luminance0.2128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397EE2 #E29D39
analogous
#39D2E2 #397EE2 #4839E2
triadic
#397EE2 #E2397E #7EE239
tetradic
#397EE2 #E239D2 #E29D39 #39E248
square
#397EE2 #E239D2 #E29D39 #39E248
split-complementary
#397EE2 #E24839 #D2E239
monochromatic
#15458C #1C60C1 #397EE2 #6EA1EA #A4C4F2

Accessibility & contrast

On white

3.99
#397EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#397EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397EE2
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397EE2#FFFFFF#000000##000000
##397EE21.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B87E6
Deuteranopia (green-blind)
#2878E0
Tritanopia (blue-blind)
#0096A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #397ee2;
/* rgb */ color: rgb(57, 126, 226);
/* oklch */ color: oklch(60.1% 0.167 258.1);
Tailwind
colors: {
  custom: {
    50: '#86a2ec',
    500: '#397ee2',
    950: '#000000',
  },
}
SCSS
$custom: #397ee2;
$custom-light: #86a2ec;
$custom-dark: #000000;
JSON
{
  "hex": "#397ee2",
  "rgb": {
    "r": 57,
    "g": 126,
    "b": 226
  },
  "hsl": {
    "h": 215.503,
    "s": 74.449,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60069,
    "c": 0.16723,
    "h": 258.1
  },
  "luminance": 0.21283
}

Semantic roles & 50–950 ramp

primary
#397EE2
secondary
#DFC298
accent
#A537F1
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #397EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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