#3F5BD6#3F5BD6

#3F5BD6 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.3% C 0.191 H 269.0°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#3F5BD6
RGBrgb(63, 91, 214)
HSLhsl(229, 65%, 54%)
HSVhsv(229, 71%, 84%)
CMYKcmyk(70.6%, 57.5%, 0%, 16.1%)
CIE-LABlab(43.35, 30.92, -66.29)
CIE-LCHlch(43.35, 73.14, 295.00°)
OKLaboklab(52.34% -0.0033 -0.1911)
OKLCHoklch(52.34% 0.191 269)
XYZxyz(17.9244, 13.3922, 65.2456)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5BD6 #D6BA3F
analogous
#3FA7D6 #3F5BD6 #6F3FD6
triadic
#3F5BD6 #D63F5B #5BD63F
tetradic
#3F5BD6 #D63FA7 #D6BA3F #3FD66F
square
#3F5BD6 #D63FA7 #D6BA3F #3FD66F
split-complementary
#3F5BD6 #D66F3F #A7D63F
monochromatic
#1B2E7F #2640B2 #3F5BD6 #7186E1 #A4B1EC

Accessibility & contrast

On white

5.71
#3F5BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#3F5BD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5BD6
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5BD6#FFFFFF#000000##FFFFFF
##3F5BD61.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDA
Deuteranopia (green-blind)
#0060D4
Tritanopia (blue-blind)
#007990
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3f5bd6;
/* rgb */ color: rgb(63, 91, 214);
/* oklch */ color: oklch(52.3% 0.191 269.0);
Tailwind
colors: {
  custom: {
    50: '#8789e4',
    500: '#3f5bd6',
    950: '#000000',
  },
}
SCSS
$custom: #3f5bd6;
$custom-light: #8789e4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5bd6",
  "rgb": {
    "r": 63,
    "g": 91,
    "b": 214
  },
  "hsl": {
    "h": 228.874,
    "s": 64.807,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52342,
    "c": 0.19115,
    "h": 269
  },
  "luminance": 0.13394
}

Semantic roles & 50–950 ramp

primary
#3F5BD6
secondary
#D8CD98
accent
#C940E8
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #3F5BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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