#3F74BF#3F74BF

#3F74BF is a mid, vivid blue. Relative luminance 0.173; OKLCH L 55.9% C 0.130 H 257.4°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#3F74BF
RGBrgb(63, 116, 191)
HSLhsl(215, 50%, 50%)
HSVhsv(215, 67%, 75%)
CMYKcmyk(67%, 39.3%, 0%, 25.1%)
CIE-LABlab(48.65, 6.86, -44.56)
CIE-LCHlch(48.65, 45.09, 278.76°)
OKLaboklab(55.91% -0.0284 -0.1269)
OKLCHoklch(55.91% 0.13 257.4)
XYZxyz(17.6959, 17.3074, 51.6882)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F74BF #BF8A3F
analogous
#3FB4BF #3F74BF #4A3FBF
triadic
#3F74BF #BF3F74 #74BF3F
tetradic
#3F74BF #BF3FB4 #BF8A3F #3FBF4A
square
#3F74BF #BF3FB4 #BF8A3F #3FBF4A
split-complementary
#3F74BF #BF4A3F #B4BF3F
monochromatic
#213C63 #305891 #3F74BF #6D95CF #9BB6DE

Accessibility & contrast

On white

4.71
#3F74BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#3F74BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F74BF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F74BF#FFFFFF#000000##FFFFFF
##3F74BF1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#527AC2
Deuteranopia (green-blind)
#3F6EBD
Tritanopia (blue-blind)
#008590
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3f74bf;
/* rgb */ color: rgb(63, 116, 191);
/* oklch */ color: oklch(55.9% 0.130 257.4);
Tailwind
colors: {
  custom: {
    50: '#819bd3',
    500: '#3f74bf',
    950: '#000000',
  },
}
SCSS
$custom: #3f74bf;
$custom-light: #819bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f74bf",
  "rgb": {
    "r": 63,
    "g": 116,
    "b": 191
  },
  "hsl": {
    "h": 215.156,
    "s": 50.394,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55908,
    "c": 0.13,
    "h": 257.4
  },
  "luminance": 0.17309
}

Semantic roles & 50–950 ramp

primary
#3F74BF
secondary
#CAB290
accent
#A04EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3F74BF

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

Preview Lab → · Contrast checker → · Palette generator →

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