#3F5BB4#3F5BB4

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

Color values

HEX#3F5BB4
RGBrgb(63, 91, 180)
HSLhsl(226, 48%, 48%)
HSVhsv(226, 65%, 71%)
CMYKcmyk(65%, 49.4%, 0%, 29.4%)
CIE-LABlab(40.95, 18.75, -50.47)
CIE-LCHlch(40.95, 53.84, 290.38°)
OKLaboklab(49.77% -0.0057 -0.1446)
OKLCHoklch(49.77% 0.145 267.8)
XYZxyz(14.0264, 11.8329, 44.7160)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5BB4 #B4983F
analogous
#3F95B4 #3F5BB4 #5D3FB4
triadic
#3F5BB4 #B43F5B #5BB43F
tetradic
#3F5BB4 #B43F95 #B4983F #3FB45D
square
#3F5BB4 #B43F95 #B4983F #3FB45D
split-complementary
#3F5BB4 #B45D3F #95B43F
monochromatic
#1F2D59 #2F4487 #3F5BB4 #677ECA #94A5DA

Accessibility & contrast

On white

6.24
#3F5BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#3F5BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5BB4
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5BB4#FFFFFF#000000##FFFFFF
##3F5BB41.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f5bb4;
/* rgb */ color: rgb(63, 91, 180);
/* oklch */ color: oklch(49.8% 0.145 267.8);
Tailwind
colors: {
  custom: {
    50: '#8089cb',
    500: '#3f5bb4',
    950: '#000000',
  },
}
SCSS
$custom: #3f5bb4;
$custom-light: #8089cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5bb4",
  "rgb": {
    "r": 63,
    "g": 91,
    "b": 180
  },
  "hsl": {
    "h": 225.641,
    "s": 48.148,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49774,
    "c": 0.1447,
    "h": 267.8
  },
  "luminance": 0.11834
}

Semantic roles & 50–950 ramp

primary
#3F5BB4
secondary
#C5B78A
accent
#B750D8
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3F5BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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