#3F5BB8#3F5BB8

#3F5BB8 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.1% C 0.150 H 268.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#3F5BB8
RGBrgb(63, 91, 184)
HSLhsl(226, 49%, 48%)
HSVhsv(226, 66%, 72%)
CMYKcmyk(65.8%, 50.5%, 0%, 27.8%)
CIE-LABlab(41.21, 20.18, -52.39)
CIE-LCHlch(41.21, 56.15, 291.07°)
OKLaboklab(50.06% -0.0052 -0.1502)
OKLCHoklch(50.06% 0.15 268)
XYZxyz(14.4397, 11.9983, 46.8930)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5BB8 #B89C3F
analogous
#3F97B8 #3F5BB8 #5F3FB8
triadic
#3F5BB8 #B83F5B #5BB83F
tetradic
#3F5BB8 #B83F97 #B89C3F #3FB85F
square
#3F5BB8 #B83F97 #B89C3F #3FB85F
split-complementary
#3F5BB8 #B85F3F #97B83F
monochromatic
#202E5D #2F448A #3F5BB8 #6980CC #96A6DB

Accessibility & contrast

On white

6.18
#3F5BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#3F5BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5BB8
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5BB8#FFFFFF#000000##FFFFFF
##3F5BB81.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2667BB
Deuteranopia (green-blind)
#005CB6
Tritanopia (blue-blind)
#007181
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3f5bb8;
/* rgb */ color: rgb(63, 91, 184);
/* oklch */ color: oklch(50.1% 0.150 268.0);
Tailwind
colors: {
  custom: {
    50: '#8189ce',
    500: '#3f5bb8',
    950: '#000000',
  },
}
SCSS
$custom: #3f5bb8;
$custom-light: #8189ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5bb8",
  "rgb": {
    "r": 63,
    "g": 91,
    "b": 184
  },
  "hsl": {
    "h": 226.116,
    "s": 48.988,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50059,
    "c": 0.15033,
    "h": 268
  },
  "luminance": 0.12
}

Semantic roles & 50–950 ramp

primary
#3F5BB8
secondary
#C7B98C
accent
#B94FD9
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3F5BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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