#3F5ED3#3F5ED3

#3F5ED3 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.7% C 0.184 H 268.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#3F5ED3
RGBrgb(63, 94, 211)
HSLhsl(227, 63%, 54%)
HSVhsv(227, 70%, 83%)
CMYKcmyk(70.1%, 55.5%, 0%, 17.3%)
CIE-LABlab(43.89, 27.94, -63.69)
CIE-LCHlch(43.89, 69.55, 293.69°)
OKLaboklab(52.68% -0.0057 -0.1834)
OKLCHoklch(52.68% 0.184 268.2)
XYZxyz(17.8064, 13.7635, 63.3336)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5ED3 #D3B43F
analogous
#3FA8D3 #3F5ED3 #6A3FD3
triadic
#3F5ED3 #D33F5E #5ED33F
tetradic
#3F5ED3 #D33FA8 #D3B43F #3FD36A
square
#3F5ED3 #D33FA8 #D3B43F #3FD36A
split-complementary
#3F5ED3 #D36A3F #A8D33F
monochromatic
#1C307B #2844AD #3F5ED3 #7188DE #A3B2EA

Accessibility & contrast

On white

5.60
#3F5ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#3F5ED3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5ED3
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5ED3#FFFFFF#000000##FFFFFF
##3F5ED31.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f5ed3;
/* rgb */ color: rgb(63, 94, 211);
/* oklch */ color: oklch(52.7% 0.184 268.2);
Tailwind
colors: {
  custom: {
    50: '#868be1',
    500: '#3f5ed3',
    950: '#000000',
  },
}
SCSS
$custom: #3f5ed3;
$custom-light: #868be1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5ed3",
  "rgb": {
    "r": 63,
    "g": 94,
    "b": 211
  },
  "hsl": {
    "h": 227.432,
    "s": 62.712,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52679,
    "c": 0.18352,
    "h": 268.2
  },
  "luminance": 0.13765
}

Semantic roles & 50–950 ramp

primary
#3F5ED3
secondary
#D7C997
accent
#C342E6
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #3F5ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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