#3F5BC4#3F5BC4

#3F5BC4 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.9% C 0.167 H 268.6°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#3F5BC4
RGBrgb(63, 91, 196)
HSLhsl(227, 53%, 51%)
HSVhsv(227, 68%, 77%)
CMYKcmyk(67.9%, 53.6%, 0%, 23.1%)
CIE-LABlab(42.04, 24.49, -58.05)
CIE-LCHlch(42.04, 63.01, 292.87°)
OKLaboklab(50.94% -0.0041 -0.1669)
OKLCHoklch(50.94% 0.167 268.6)
XYZxyz(15.7514, 12.5229, 53.8009)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5BC4 #C4A83F
analogous
#3F9EC4 #3F5BC4 #653FC4
triadic
#3F5BC4 #C43F5B #5BC43F
tetradic
#3F5BC4 #C43F9E #C4A83F #3FC465
square
#3F5BC4 #C43F9E #C4A83F #3FC465
split-complementary
#3F5BC4 #C4653F #9EC43F
monochromatic
#202F68 #2E4597 #3F5BC4 #6E83D2 #9DABE1

Accessibility & contrast

On white

5.99
#3F5BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#3F5BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5BC4
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5BC4#FFFFFF#000000##FFFFFF
##3F5BC41.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F6AC8
Deuteranopia (green-blind)
#005DC2
Tritanopia (blue-blind)
#007486
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3f5bc4;
/* rgb */ color: rgb(63, 91, 196);
/* oklch */ color: oklch(50.9% 0.167 268.6);
Tailwind
colors: {
  custom: {
    50: '#8389d7',
    500: '#3f5bc4',
    950: '#000000',
  },
}
SCSS
$custom: #3f5bc4;
$custom-light: #8389d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5bc4",
  "rgb": {
    "r": 63,
    "g": 91,
    "b": 196
  },
  "hsl": {
    "h": 227.368,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50943,
    "c": 0.16695,
    "h": 268.6
  },
  "luminance": 0.12524
}

Semantic roles & 50–950 ramp

primary
#3F5BC4
secondary
#CDC092
accent
#BE4BDC
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3F5BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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