#3F74C5#3F74C5

#3F74C5 is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.3% C 0.138 H 258.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#3F74C5
RGBrgb(63, 116, 197)
HSLhsl(216, 54%, 51%)
HSVhsv(216, 68%, 77%)
CMYKcmyk(68%, 41.1%, 0%, 22.7%)
CIE-LABlab(48.98, 9.00, -47.48)
CIE-LCHlch(48.98, 48.32, 280.74°)
OKLaboklab(56.28% -0.0271 -0.1354)
OKLCHoklch(56.28% 0.138 258.7)
XYZxyz(18.3697, 17.5769, 55.2371)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F74C5 #C5903F
analogous
#3FB7C5 #3F74C5 #4D3FC5
triadic
#3F74C5 #C53F74 #74C53F
tetradic
#3F74C5 #C53FB7 #C5903F #3FC54D
square
#3F74C5 #C53FB7 #C5903F #3FC54D
split-complementary
#3F74C5 #C54D3F #B7C53F
monochromatic
#203D6A #2E5899 #3F74C5 #6E96D3 #9DB8E1

Accessibility & contrast

On white

4.65
#3F74C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#3F74C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3F74C5
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F74C5#FFFFFF#000000##FFFFFF
##3F74C51.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E7BC8
Deuteranopia (green-blind)
#396FC3
Tritanopia (blue-blind)
#008793
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3f74c5;
/* rgb */ color: rgb(63, 116, 197);
/* oklch */ color: oklch(56.3% 0.138 258.7);
Tailwind
colors: {
  custom: {
    50: '#839bd7',
    500: '#3f74c5',
    950: '#000000',
  },
}
SCSS
$custom: #3f74c5;
$custom-light: #839bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f74c5",
  "rgb": {
    "r": 63,
    "g": 116,
    "b": 197
  },
  "hsl": {
    "h": 216.269,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56276,
    "c": 0.1381,
    "h": 258.7
  },
  "luminance": 0.17579
}

Semantic roles & 50–950 ramp

primary
#3F74C5
secondary
#CEB692
accent
#A34BDD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #3F74C5

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

Preview Lab → · Contrast checker → · Palette generator →

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