#3974F2#3974F2

#3974F2 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.1% C 0.200 H 262.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#3974F2
RGBrgb(57, 116, 242)
HSLhsl(221, 88%, 59%)
HSVhsv(221, 76%, 95%)
CMYKcmyk(76.4%, 52.1%, 0%, 5.1%)
CIE-LABlab(51.57, 24.56, -68.75)
CIE-LCHlch(51.57, 73.01, 289.66°)
OKLaboklab(59.11% -0.0246 -0.1981)
OKLCHoklch(59.11% 0.2 262.9)
XYZxyz(23.9540, 19.7687, 86.5405)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3974F2 #F2B739
analogous
#39D0F2 #3974F2 #5A39F2
triadic
#3974F2 #F23974 #74F239
tetradic
#3974F2 #F239D0 #F2B739 #39F25A
square
#3974F2 #F239D0 #F2B739 #39F25A
split-complementary
#3974F2 #F25A39 #D0F239
monochromatic
#0B3CA6 #0F51DF #3974F2 #729CF6 #ACC5FA

Accessibility & contrast

On white

4.24
#3974F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#3974F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3974F2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3974F2#FFFFFF#000000##000000
##3974F21.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1684F6
Deuteranopia (green-blind)
#0073F0
Tritanopia (blue-blind)
#0093A8
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3974f2;
/* rgb */ color: rgb(57, 116, 242);
/* oklch */ color: oklch(59.1% 0.200 262.9);
Tailwind
colors: {
  custom: {
    50: '#899bf7',
    500: '#3974f2',
    950: '#000000',
  },
}
SCSS
$custom: #3974f2;
$custom-light: #899bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#3974f2",
  "rgb": {
    "r": 57,
    "g": 116,
    "b": 242
  },
  "hsl": {
    "h": 220.865,
    "s": 87.678,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59108,
    "c": 0.19961,
    "h": 262.9
  },
  "luminance": 0.19771
}

Semantic roles & 50–950 ramp

primary
#3974F2
secondary
#E8D19F
accent
#BA2AFE
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0D0E17
muted
#7E7E85

Preview Lab

Preview with #3974F2

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

Preview Lab → · Contrast checker → · Palette generator →

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