#3F74CA#3F74CA

#3F74CA is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.6% C 0.145 H 259.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#3F74CA
RGBrgb(63, 116, 202)
HSLhsl(217, 57%, 52%)
HSVhsv(217, 69%, 79%)
CMYKcmyk(68.8%, 42.6%, 0%, 20.8%)
CIE-LABlab(49.26, 10.79, -49.88)
CIE-LCHlch(49.26, 51.04, 282.21°)
OKLaboklab(56.59% -0.0261 -0.1425)
OKLCHoklch(56.59% 0.145 259.6)
XYZxyz(18.9521, 17.8099, 58.3045)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F74CA #CA953F
analogous
#3FBACA #3F74CA #4F3FCA
triadic
#3F74CA #CA3F74 #74CA3F
tetradic
#3F74CA #CA3FBA #CA953F #3FCA4F
square
#3F74CA #CA3FBA #CA953F #3FCA4F
split-complementary
#3F74CA #CA4F3F #BACA3F
monochromatic
#1F3E70 #2C58A0 #3F74CA #6F97D7 #9FB9E4

Accessibility & contrast

On white

4.60
#3F74CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#3F74CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3F74CA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F74CA#FFFFFF#000000##FFFFFF
##3F74CA1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B7CCD
Deuteranopia (green-blind)
#346FC8
Tritanopia (blue-blind)
#008895
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3f74ca;
/* rgb */ color: rgb(63, 116, 202);
/* oklch */ color: oklch(56.6% 0.145 259.6);
Tailwind
colors: {
  custom: {
    50: '#839bda',
    500: '#3f74ca',
    950: '#000000',
  },
}
SCSS
$custom: #3f74ca;
$custom-light: #839bda;
$custom-dark: #000000;
JSON
{
  "hex": "#3f74ca",
  "rgb": {
    "r": 63,
    "g": 116,
    "b": 202
  },
  "hsl": {
    "h": 217.122,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.56589,
    "c": 0.14485,
    "h": 259.6
  },
  "luminance": 0.17812
}

Semantic roles & 50–950 ramp

primary
#3F74CA
secondary
#D1BA94
accent
#A648E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3F74CA

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

Preview Lab → · Contrast checker → · Palette generator →

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