#3F5BBB#3F5BBB

#3F5BBB is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.3% C 0.155 H 268.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#3F5BBB
RGBrgb(63, 91, 187)
HSLhsl(226, 50%, 49%)
HSVhsv(226, 66%, 73%)
CMYKcmyk(66.3%, 51.3%, 0%, 26.7%)
CIE-LABlab(41.41, 21.26, -53.82)
CIE-LCHlch(41.41, 57.87, 291.55°)
OKLaboklab(50.28% -0.0049 -0.1544)
OKLCHoklch(50.28% 0.155 268.2)
XYZxyz(14.7575, 12.1254, 48.5668)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5BBB #BB9F3F
analogous
#3F99BB #3F5BBB #613FBB
triadic
#3F5BBB #BB3F5B #5BBB3F
tetradic
#3F5BBB #BB3F99 #BB9F3F #3FBB61
square
#3F5BBB #BB3F99 #BB9F3F #3FBB61
split-complementary
#3F5BBB #BB613F #99BB3F
monochromatic
#202E5F #30458D #3F5BBB #6A81CD #98A7DC

Accessibility & contrast

On white

6.13
#3F5BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#3F5BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5BBB
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5BBB#FFFFFF#000000##FFFFFF
##3F5BBB1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2268BE
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3f5bbb;
/* rgb */ color: rgb(63, 91, 187);
/* oklch */ color: oklch(50.3% 0.155 268.2);
Tailwind
colors: {
  custom: {
    50: '#8189d0',
    500: '#3f5bbb',
    950: '#000000',
  },
}
SCSS
$custom: #3f5bbb;
$custom-light: #8189d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5bbb",
  "rgb": {
    "r": 63,
    "g": 91,
    "b": 187
  },
  "hsl": {
    "h": 226.452,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50276,
    "c": 0.15452,
    "h": 268.2
  },
  "luminance": 0.12127
}

Semantic roles & 50–950 ramp

primary
#3F5BBB
secondary
#C8BB8E
accent
#BA4FD9
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #3F5BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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