#3F74E8#3F74E8

#3F74E8 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.6% C 0.185 H 263.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#3F74E8
RGBrgb(63, 116, 232)
HSLhsl(221, 79%, 58%)
HSVhsv(221, 73%, 91%)
CMYKcmyk(72.8%, 50%, 0%, 9%)
CIE-LABlab(51.12, 21.62, -63.89)
CIE-LCHlch(51.12, 67.45, 288.70°)
OKLaboklab(58.61% -0.0214 -0.1837)
OKLCHoklch(58.61% 0.185 263.3)
XYZxyz(22.8556, 19.3712, 78.8628)
Luminance0.1937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F74E8 #E8B33F
analogous
#3FC9E8 #3F74E8 #5E3FE8
triadic
#3F74E8 #E83F74 #74E83F
tetradic
#3F74E8 #E83FC9 #E8B33F #3FE85E
square
#3F74E8 #E83FC9 #E8B33F #3FE85E
split-complementary
#3F74E8 #E85E3F #C9E83F
monochromatic
#123D9A #1953D1 #3F74E8 #769CEF #ACC3F5

Accessibility & contrast

On white

4.31
#3F74E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#3F74E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F74E8
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F74E8#FFFFFF#000000##000000
##3F74E81.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D82EC
Deuteranopia (green-blind)
#0072E6
Tritanopia (blue-blind)
#0090A3
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3f74e8;
/* rgb */ color: rgb(63, 116, 232);
/* oklch */ color: oklch(58.6% 0.185 263.3);
Tailwind
colors: {
  custom: {
    50: '#899bf0',
    500: '#3f74e8',
    950: '#000000',
  },
}
SCSS
$custom: #3f74e8;
$custom-light: #899bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f74e8",
  "rgb": {
    "r": 63,
    "g": 116,
    "b": 232
  },
  "hsl": {
    "h": 221.183,
    "s": 78.605,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58608,
    "c": 0.18493,
    "h": 263.3
  },
  "luminance": 0.19374
}

Semantic roles & 50–950 ramp

primary
#3F74E8
secondary
#E3CEA0
accent
#B833F5
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E17
muted
#7E7E85

Preview Lab

Preview with #3F74E8

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

Preview Lab → · Contrast checker → · Palette generator →

#3F74E8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva