#3F72C2#3F72C2

#3F72C2 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 55.6% C 0.136 H 259.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#3F72C2
RGBrgb(63, 114, 194)
HSLhsl(217, 52%, 50%)
HSVhsv(217, 68%, 76%)
CMYKcmyk(67.5%, 41.2%, 0%, 23.9%)
CIE-LABlab(48.24, 9.17, -46.93)
CIE-LCHlch(48.24, 47.82, 281.06°)
OKLaboklab(55.65% -0.0258 -0.1338)
OKLCHoklch(55.65% 0.136 259.1)
XYZxyz(17.8013, 16.9846, 53.3687)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F72C2 #C28F3F
analogous
#3FB4C2 #3F72C2 #4D3FC2
triadic
#3F72C2 #C23F72 #72C23F
tetradic
#3F72C2 #C23FB4 #C28F3F #3FC24D
square
#3F72C2 #C23FB4 #C28F3F #3FC24D
split-complementary
#3F72C2 #C24D3F #B4C23F
monochromatic
#203C66 #2F5795 #3F72C2 #6D94D1 #9CB6E0

Accessibility & contrast

On white

4.78
#3F72C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#3F72C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F72C2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F72C2#FFFFFF#000000##FFFFFF
##3F72C21.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D79C5
Deuteranopia (green-blind)
#386DC0
Tritanopia (blue-blind)
#008490
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3f72c2;
/* rgb */ color: rgb(63, 114, 194);
/* oklch */ color: oklch(55.6% 0.136 259.1);
Tailwind
colors: {
  custom: {
    50: '#829ad5',
    500: '#3f72c2',
    950: '#000000',
  },
}
SCSS
$custom: #3f72c2;
$custom-light: #829ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f72c2",
  "rgb": {
    "r": 63,
    "g": 114,
    "b": 194
  },
  "hsl": {
    "h": 216.641,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55648,
    "c": 0.1363,
    "h": 259.1
  },
  "luminance": 0.16986
}

Semantic roles & 50–950 ramp

primary
#3F72C2
secondary
#CCB591
accent
#A44DDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #3F72C2

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

Preview Lab → · Contrast checker → · Palette generator →

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