#3F5BB5#3F5BB5

#3F5BB5 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.8% C 0.146 H 267.8°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#3F5BB5
RGBrgb(63, 91, 181)
HSLhsl(226, 48%, 48%)
HSVhsv(226, 65%, 71%)
CMYKcmyk(65.2%, 49.7%, 0%, 29%)
CIE-LABlab(41.01, 19.11, -50.95)
CIE-LCHlch(41.01, 54.42, 290.56°)
OKLaboklab(49.84% -0.0056 -0.146)
OKLCHoklch(49.84% 0.146 267.8)
XYZxyz(14.1286, 11.8738, 45.2544)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5BB5 #B5993F
analogous
#3F96B5 #3F5BB5 #5E3FB5
triadic
#3F5BB5 #B53F5B #5BB53F
tetradic
#3F5BB5 #B53F96 #B5993F #3FB55E
square
#3F5BB5 #B53F96 #B5993F #3FB55E
split-complementary
#3F5BB5 #B55E3F #96B53F
monochromatic
#1F2D5A #2F4488 #3F5BB5 #677FCA #94A5DA

Accessibility & contrast

On white

6.22
#3F5BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#3F5BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5BB5
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5BB5#FFFFFF#000000##FFFFFF
##3F5BB51.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A66B8
Deuteranopia (green-blind)
#0A5CB3
Tritanopia (blue-blind)
#00707F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3f5bb5;
/* rgb */ color: rgb(63, 91, 181);
/* oklch */ color: oklch(49.8% 0.146 267.8);
Tailwind
colors: {
  custom: {
    50: '#8089cc',
    500: '#3f5bb5',
    950: '#000000',
  },
}
SCSS
$custom: #3f5bb5;
$custom-light: #8089cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5bb5",
  "rgb": {
    "r": 63,
    "g": 91,
    "b": 181
  },
  "hsl": {
    "h": 225.763,
    "s": 48.361,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49844,
    "c": 0.14612,
    "h": 267.8
  },
  "luminance": 0.11875
}

Semantic roles & 50–950 ramp

primary
#3F5BB5
secondary
#C5B78A
accent
#B850D8
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3F5BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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