#3F5FD3#3F5FD3

#3F5FD3 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.9% C 0.182 H 267.9°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#3F5FD3
RGBrgb(63, 95, 211)
HSLhsl(227, 63%, 54%)
HSVhsv(227, 70%, 83%)
CMYKcmyk(70.1%, 55%, 0%, 17.3%)
CIE-LABlab(44.15, 27.31, -63.27)
CIE-LCHlch(44.15, 68.91, 293.35°)
OKLaboklab(52.87% -0.0065 -0.1822)
OKLCHoklch(52.87% 0.182 267.9)
XYZxyz(17.8959, 13.9425, 63.3634)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5FD3 #D3B33F
analogous
#3FA9D3 #3F5FD3 #693FD3
triadic
#3F5FD3 #D33F5F #5FD33F
tetradic
#3F5FD3 #D33FA9 #D3B33F #3FD369
square
#3F5FD3 #D33FA9 #D3B33F #3FD369
split-complementary
#3F5FD3 #D3693F #A9D33F
monochromatic
#1C317B #2845AD #3F5FD3 #7188DE #A3B2EA

Accessibility & contrast

On white

5.54
#3F5FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#3F5FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5FD3
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5FD3#FFFFFF#000000##FFFFFF
##3F5FD31.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD7
Deuteranopia (green-blind)
#0062D1
Tritanopia (blue-blind)
#007B90
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3f5fd3;
/* rgb */ color: rgb(63, 95, 211);
/* oklch */ color: oklch(52.9% 0.182 267.9);
Tailwind
colors: {
  custom: {
    50: '#868ce1',
    500: '#3f5fd3',
    950: '#000000',
  },
}
SCSS
$custom: #3f5fd3;
$custom-light: #868ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5fd3",
  "rgb": {
    "r": 63,
    "g": 95,
    "b": 211
  },
  "hsl": {
    "h": 227.027,
    "s": 62.712,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52873,
    "c": 0.1823,
    "h": 267.9
  },
  "luminance": 0.13944
}

Semantic roles & 50–950 ramp

primary
#3F5FD3
secondary
#D7C997
accent
#C242E6
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0C15
muted
#7D7D83

Preview Lab

Preview with #3F5FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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