#3F5EB5#3F5EB5

#3F5EB5 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.5% C 0.142 H 266.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#3F5EB5
RGBrgb(63, 94, 181)
HSLhsl(224, 48%, 48%)
HSVhsv(224, 65%, 71%)
CMYKcmyk(65.2%, 48.1%, 0%, 29%)
CIE-LABlab(41.84, 17.18, -49.63)
CIE-LCHlch(41.84, 52.52, 289.09°)
OKLaboklab(50.47% -0.0085 -0.1421)
OKLCHoklch(50.47% 0.142 266.6)
XYZxyz(14.3902, 12.3970, 45.3416)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5EB5 #B5963F
analogous
#3F99B5 #3F5EB5 #5B3FB5
triadic
#3F5EB5 #B53F5E #5EB53F
tetradic
#3F5EB5 #B53F99 #B5963F #3FB55B
square
#3F5EB5 #B53F99 #B5963F #3FB55B
split-complementary
#3F5EB5 #B55B3F #99B53F
monochromatic
#1F2F5A #2F4688 #3F5EB5 #6781CA #94A7DA

Accessibility & contrast

On white

6.04
#3F5EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#3F5EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5EB5
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5EB5#FFFFFF#000000##FFFFFF
##3F5EB51.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3168B8
Deuteranopia (green-blind)
#185EB3
Tritanopia (blue-blind)
#007281
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3f5eb5;
/* rgb */ color: rgb(63, 94, 181);
/* oklch */ color: oklch(50.5% 0.142 266.6);
Tailwind
colors: {
  custom: {
    50: '#808bcc',
    500: '#3f5eb5',
    950: '#000000',
  },
}
SCSS
$custom: #3f5eb5;
$custom-light: #808bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5eb5",
  "rgb": {
    "r": 63,
    "g": 94,
    "b": 181
  },
  "hsl": {
    "h": 224.237,
    "s": 48.361,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50473,
    "c": 0.14231,
    "h": 266.6
  },
  "luminance": 0.12398
}

Semantic roles & 50–950 ramp

primary
#3F5EB5
secondary
#C5B68A
accent
#B450D8
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3F5EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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