#3977F2#3977F2

#3977F2 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.7% C 0.196 H 262.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#3977F2
RGBrgb(57, 119, 242)
HSLhsl(220, 88%, 59%)
HSVhsv(220, 76%, 95%)
CMYKcmyk(76.4%, 50.8%, 0%, 5.1%)
CIE-LABlab(52.37, 22.68, -67.47)
CIE-LCHlch(52.37, 71.18, 288.58°)
OKLaboklab(59.71% -0.0268 -0.1943)
OKLCHoklch(59.71% 0.196 262.1)
XYZxyz(24.3054, 20.4715, 86.6576)
Luminance0.2047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3977F2 #F2B439
analogous
#39D3F2 #3977F2 #5739F2
triadic
#3977F2 #F23977 #77F239
tetradic
#3977F2 #F239D3 #F2B439 #39F257
square
#3977F2 #F239D3 #F2B439 #39F257
split-complementary
#3977F2 #F25739 #D3F239
monochromatic
#0B3FA6 #0F55DF #3977F2 #729EF6 #ACC6FA

Accessibility & contrast

On white

4.12
#3977F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#3977F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3977F2
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3977F2#FFFFFF#000000##000000
##3977F21.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2586F6
Deuteranopia (green-blind)
#0075F0
Tritanopia (blue-blind)
#0095A9
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #3977f2;
/* rgb */ color: rgb(57, 119, 242);
/* oklch */ color: oklch(59.7% 0.196 262.1);
Tailwind
colors: {
  custom: {
    50: '#899df7',
    500: '#3977f2',
    950: '#000000',
  },
}
SCSS
$custom: #3977f2;
$custom-light: #899df7;
$custom-dark: #000000;
JSON
{
  "hex": "#3977f2",
  "rgb": {
    "r": 57,
    "g": 119,
    "b": 242
  },
  "hsl": {
    "h": 219.892,
    "s": 87.678,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59711,
    "c": 0.1961,
    "h": 262.1
  },
  "luminance": 0.20474
}

Semantic roles & 50–950 ramp

primary
#3977F2
secondary
#E8CF9F
accent
#B72AFE
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0D0E17
muted
#7E7E85

Preview Lab

Preview with #3977F2

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

Preview Lab → · Contrast checker → · Palette generator →

#3977F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva