#3F5ED2#3F5ED2

#3F5ED2 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.6% C 0.182 H 268.2°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#3F5ED2
RGBrgb(63, 94, 210)
HSLhsl(227, 62%, 54%)
HSVhsv(227, 70%, 82%)
CMYKcmyk(70%, 55.2%, 0%, 17.6%)
CIE-LABlab(43.82, 27.59, -63.23)
CIE-LCHlch(43.82, 68.99, 293.57°)
OKLaboklab(52.6% -0.0058 -0.1821)
OKLCHoklch(52.6% 0.182 268.2)
XYZxyz(17.6814, 13.7135, 62.6754)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5ED2 #D2B33F
analogous
#3FA7D2 #3F5ED2 #693FD2
triadic
#3F5ED2 #D23F5E #5ED23F
tetradic
#3F5ED2 #D23FA7 #D2B33F #3FD269
square
#3F5ED2 #D23FA7 #D2B33F #3FD269
split-complementary
#3F5ED2 #D2693F #A7D23F
monochromatic
#1D307A #2844AC #3F5ED2 #7188DE #A2B1E9

Accessibility & contrast

On white

5.61
#3F5ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#3F5ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5ED2
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5ED2#FFFFFF#000000##FFFFFF
##3F5ED21.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#0061D0
Tritanopia (blue-blind)
#007A8F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3f5ed2;
/* rgb */ color: rgb(63, 94, 210);
/* oklch */ color: oklch(52.6% 0.182 268.2);
Tailwind
colors: {
  custom: {
    50: '#868be1',
    500: '#3f5ed2',
    950: '#000000',
  },
}
SCSS
$custom: #3f5ed2;
$custom-light: #868be1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5ed2",
  "rgb": {
    "r": 63,
    "g": 94,
    "b": 210
  },
  "hsl": {
    "h": 227.347,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52601,
    "c": 0.18218,
    "h": 268.2
  },
  "luminance": 0.13715
}

Semantic roles & 50–950 ramp

primary
#3F5ED2
secondary
#D6C997
accent
#C343E5
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #3F5ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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