#3F74C4#3F74C4

#3F74C4 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.2% C 0.137 H 258.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#3F74C4
RGBrgb(63, 116, 196)
HSLhsl(216, 53%, 51%)
HSVhsv(216, 68%, 77%)
CMYKcmyk(67.9%, 40.8%, 0%, 23.1%)
CIE-LABlab(48.92, 8.65, -46.99)
CIE-LCHlch(48.92, 47.78, 280.42°)
OKLaboklab(56.21% -0.0273 -0.134)
OKLCHoklch(56.21% 0.137 258.5)
XYZxyz(18.2555, 17.5312, 54.6356)
Luminance0.1753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F74C4 #C48F3F
analogous
#3FB6C4 #3F74C4 #4C3FC4
triadic
#3F74C4 #C43F74 #74C43F
tetradic
#3F74C4 #C43FB6 #C48F3F #3FC44C
square
#3F74C4 #C43FB6 #C48F3F #3FC44C
split-complementary
#3F74C4 #C44C3F #B6C43F
monochromatic
#203D68 #2E5897 #3F74C4 #6E96D2 #9DB8E1

Accessibility & contrast

On white

4.66
#3F74C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#3F74C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3F74C4
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F74C4#FFFFFF#000000##FFFFFF
##3F74C41.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F7BC7
Deuteranopia (green-blind)
#3A6FC2
Tritanopia (blue-blind)
#008692
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3f74c4;
/* rgb */ color: rgb(63, 116, 196);
/* oklch */ color: oklch(56.2% 0.137 258.5);
Tailwind
colors: {
  custom: {
    50: '#829bd6',
    500: '#3f74c4',
    950: '#000000',
  },
}
SCSS
$custom: #3f74c4;
$custom-light: #829bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f74c4",
  "rgb": {
    "r": 63,
    "g": 116,
    "b": 196
  },
  "hsl": {
    "h": 216.09,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56214,
    "c": 0.13675,
    "h": 258.5
  },
  "luminance": 0.17533
}

Semantic roles & 50–950 ramp

primary
#3F74C4
secondary
#CDB592
accent
#A34BDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #3F74C4

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

Preview Lab → · Contrast checker → · Palette generator →

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