#3F5DB1#3F5DB1

#3F5DB1 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.0% C 0.138 H 266.6°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#3F5DB1
RGBrgb(63, 93, 177)
HSLhsl(224, 48%, 47%)
HSVhsv(224, 64%, 69%)
CMYKcmyk(64.4%, 47.5%, 0%, 30.6%)
CIE-LABlab(41.31, 16.39, -48.13)
CIE-LCHlch(41.31, 50.85, 288.80°)
OKLaboklab(49.99% -0.0081 -0.1377)
OKLCHoklch(49.99% 0.138 266.6)
XYZxyz(13.8973, 12.0585, 43.1816)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5DB1 #B1933F
analogous
#3F96B1 #3F5DB1 #5A3FB1
triadic
#3F5DB1 #B13F5D #5DB13F
tetradic
#3F5DB1 #B13F96 #B1933F #3FB15A
square
#3F5DB1 #B13F96 #B1933F #3FB15A
split-complementary
#3F5DB1 #B15A3F #96B13F
monochromatic
#1F2E57 #2F4584 #3F5DB1 #657FC8 #92A5D8

Accessibility & contrast

On white

6.15
#3F5DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#3F5DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5DB1
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5DB1#FFFFFF#000000##FFFFFF
##3F5DB11.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3367B4
Deuteranopia (green-blind)
#1D5DAF
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3f5db1;
/* rgb */ color: rgb(63, 93, 177);
/* oklch */ color: oklch(50.0% 0.138 266.6);
Tailwind
colors: {
  custom: {
    50: '#808ac9',
    500: '#3f5db1',
    950: '#000000',
  },
}
SCSS
$custom: #3f5db1;
$custom-light: #808ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5db1",
  "rgb": {
    "r": 63,
    "g": 93,
    "b": 177
  },
  "hsl": {
    "h": 224.211,
    "s": 47.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49986,
    "c": 0.13792,
    "h": 266.6
  },
  "luminance": 0.1206
}

Semantic roles & 50–950 ramp

primary
#3F5DB1
secondary
#C4B488
accent
#B451D7
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3F5DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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