#3F5BD3#3F5BD3

#3F5BD3 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.1% C 0.187 H 269.0°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#3F5BD3
RGBrgb(63, 91, 211)
HSLhsl(229, 63%, 54%)
HSVhsv(229, 70%, 83%)
CMYKcmyk(70.1%, 56.9%, 0%, 17.3%)
CIE-LABlab(43.12, 29.85, -64.94)
CIE-LCHlch(43.12, 71.47, 294.69°)
OKLaboklab(52.1% -0.0034 -0.1871)
OKLCHoklch(52.1% 0.187 269)
XYZxyz(17.5448, 13.2403, 63.2464)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5BD3 #D3B73F
analogous
#3FA5D3 #3F5BD3 #6D3FD3
triadic
#3F5BD3 #D33F5B #5BD33F
tetradic
#3F5BD3 #D33FA5 #D3B73F #3FD36D
square
#3F5BD3 #D33FA5 #D3B73F #3FD36D
split-complementary
#3F5BD3 #D36D3F #A5D33F
monochromatic
#1C2E7B #2841AD #3F5BD3 #7186DE #A3B0EA

Accessibility & contrast

On white

5.76
#3F5BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#3F5BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5BD3
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5BD3#FFFFFF#000000##FFFFFF
##3F5BD31.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD7
Deuteranopia (green-blind)
#005FD1
Tritanopia (blue-blind)
#00798E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3f5bd3;
/* rgb */ color: rgb(63, 91, 211);
/* oklch */ color: oklch(52.1% 0.187 269.0);
Tailwind
colors: {
  custom: {
    50: '#8689e1',
    500: '#3f5bd3',
    950: '#000000',
  },
}
SCSS
$custom: #3f5bd3;
$custom-light: #8689e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5bd3",
  "rgb": {
    "r": 63,
    "g": 91,
    "b": 211
  },
  "hsl": {
    "h": 228.649,
    "s": 62.712,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52103,
    "c": 0.18717,
    "h": 269
  },
  "luminance": 0.13242
}

Semantic roles & 50–950 ramp

primary
#3F5BD3
secondary
#D7CB97
accent
#C742E6
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #3F5BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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