#3F74C2#3F74C2

#3F74C2 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.1% C 0.134 H 258.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#3F74C2
RGBrgb(63, 116, 194)
HSLhsl(216, 52%, 50%)
HSVhsv(216, 68%, 76%)
CMYKcmyk(67.5%, 40.2%, 0%, 23.9%)
CIE-LABlab(48.81, 7.93, -46.02)
CIE-LCHlch(48.81, 46.70, 279.78°)
OKLaboklab(56.09% -0.0277 -0.1311)
OKLCHoklch(56.09% 0.134 258.1)
XYZxyz(18.0294, 17.4408, 53.4447)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F74C2 #C28D3F
analogous
#3FB6C2 #3F74C2 #4B3FC2
triadic
#3F74C2 #C23F74 #74C23F
tetradic
#3F74C2 #C23FB6 #C28D3F #3FC24B
square
#3F74C2 #C23FB6 #C28D3F #3FC24B
split-complementary
#3F74C2 #C24B3F #B6C23F
monochromatic
#203D66 #2F5895 #3F74C2 #6D96D1 #9CB7E0

Accessibility & contrast

On white

4.68
#3F74C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#3F74C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F74C2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F74C2#FFFFFF#000000##FFFFFF
##3F74C21.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#507BC5
Deuteranopia (green-blind)
#3C6EC0
Tritanopia (blue-blind)
#008691
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3f74c2;
/* rgb */ color: rgb(63, 116, 194);
/* oklch */ color: oklch(56.1% 0.134 258.1);
Tailwind
colors: {
  custom: {
    50: '#829bd5',
    500: '#3f74c2',
    950: '#000000',
  },
}
SCSS
$custom: #3f74c2;
$custom-light: #829bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f74c2",
  "rgb": {
    "r": 63,
    "g": 116,
    "b": 194
  },
  "hsl": {
    "h": 215.725,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5609,
    "c": 0.13405,
    "h": 258.1
  },
  "luminance": 0.17443
}

Semantic roles & 50–950 ramp

primary
#3F74C2
secondary
#CCB491
accent
#A24DDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #3F74C2

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

Preview Lab → · Contrast checker → · Palette generator →

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