#3F74DF#3F74DF

#3F74DF is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.0% C 0.173 H 262.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#3F74DF
RGBrgb(63, 116, 223)
HSLhsl(220, 71%, 56%)
HSVhsv(220, 72%, 87%)
CMYKcmyk(71.7%, 48%, 0%, 12.5%)
CIE-LABlab(50.54, 18.37, -59.76)
CIE-LCHlch(50.54, 62.52, 287.08°)
OKLaboklab(57.98% -0.0226 -0.1715)
OKLCHoklch(57.98% 0.173 262.5)
XYZxyz(21.6098, 18.8729, 72.3017)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F74DF #DFAA3F
analogous
#3FC4DF #3F74DF #5A3FDF
triadic
#3F74DF #DF3F74 #74DF3F
tetradic
#3F74DF #DF3FC4 #DFAA3F #3FDF5A
square
#3F74DF #DF3FC4 #DFAA3F #3FDF5A
split-complementary
#3F74DF #DF5A3F #C4DF3F
monochromatic
#173E8C #2055C1 #3F74DF #739AE8 #A8C0F0

Accessibility & contrast

On white

4.40
#3F74DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#3F74DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F74DF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F74DF#FFFFFF#000000##000000
##3F74DF1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3880E3
Deuteranopia (green-blind)
#0171DD
Tritanopia (blue-blind)
#008D9F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3f74df;
/* rgb */ color: rgb(63, 116, 223);
/* oklch */ color: oklch(58.0% 0.173 262.5);
Tailwind
colors: {
  custom: {
    50: '#879bea',
    500: '#3f74df',
    950: '#000000',
  },
}
SCSS
$custom: #3f74df;
$custom-light: #879bea;
$custom-dark: #000000;
JSON
{
  "hex": "#3f74df",
  "rgb": {
    "r": 63,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 220.125,
    "s": 71.429,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57979,
    "c": 0.17302,
    "h": 262.5
  },
  "luminance": 0.18875
}

Semantic roles & 50–950 ramp

primary
#3F74DF
secondary
#DEC89C
accent
#B23AEE
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #3F74DF

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

Preview Lab → · Contrast checker → · Palette generator →

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