#3F74C8#3F74C8

#3F74C8 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.5% C 0.142 H 259.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#3F74C8
RGBrgb(63, 116, 200)
HSLhsl(217, 55%, 52%)
HSVhsv(217, 69%, 78%)
CMYKcmyk(68.5%, 42%, 0%, 21.6%)
CIE-LABlab(49.15, 10.08, -48.92)
CIE-LCHlch(49.15, 49.95, 281.64°)
OKLaboklab(56.46% -0.0265 -0.1397)
OKLCHoklch(56.46% 0.142 259.3)
XYZxyz(18.7169, 17.7158, 57.0655)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F74C8 #C8933F
analogous
#3FB9C8 #3F74C8 #4F3FC8
triadic
#3F74C8 #C83F74 #74C83F
tetradic
#3F74C8 #C83FB9 #C8933F #3FC84F
square
#3F74C8 #C83FB9 #C8933F #3FC84F
split-complementary
#3F74C8 #C84F3F #B9C83F
monochromatic
#1F3D6D #2D589D #3F74C8 #6F96D6 #9EB9E3

Accessibility & contrast

On white

4.62
#3F74C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#3F74C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3F74C8
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F74C8#FFFFFF#000000##FFFFFF
##3F74C81.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C7CCB
Deuteranopia (green-blind)
#366FC6
Tritanopia (blue-blind)
#008794
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3f74c8;
/* rgb */ color: rgb(63, 116, 200);
/* oklch */ color: oklch(56.5% 0.142 259.3);
Tailwind
colors: {
  custom: {
    50: '#839bd9',
    500: '#3f74c8',
    950: '#000000',
  },
}
SCSS
$custom: #3f74c8;
$custom-light: #839bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f74c8",
  "rgb": {
    "r": 63,
    "g": 116,
    "b": 200
  },
  "hsl": {
    "h": 216.788,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.56463,
    "c": 0.14215,
    "h": 259.3
  },
  "luminance": 0.17718
}

Semantic roles & 50–950 ramp

primary
#3F74C8
secondary
#D0B893
accent
#A549DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3F74C8

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

Preview Lab → · Contrast checker → · Palette generator →

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