#3F5CD2#3F5CD2

#3F5CD2 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.2% C 0.185 H 268.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#3F5CD2
RGBrgb(63, 92, 210)
HSLhsl(228, 62%, 54%)
HSVhsv(228, 70%, 82%)
CMYKcmyk(70%, 56.2%, 0%, 17.6%)
CIE-LABlab(43.30, 28.86, -64.07)
CIE-LCHlch(43.30, 70.27, 294.25°)
OKLaboklab(52.22% -0.0042 -0.1846)
OKLCHoklch(52.22% 0.185 268.7)
XYZxyz(17.5059, 13.3624, 62.6169)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5CD2 #D2B53F
analogous
#3FA5D2 #3F5CD2 #6B3FD2
triadic
#3F5CD2 #D23F5C #5CD23F
tetradic
#3F5CD2 #D23FA5 #D2B53F #3FD26B
square
#3F5CD2 #D23FA5 #D2B53F #3FD26B
split-complementary
#3F5CD2 #D26B3F #A5D23F
monochromatic
#1D2F7A #2842AC #3F5CD2 #7186DE #A2B0E9

Accessibility & contrast

On white

5.72
#3F5CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#3F5CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5CD2
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5CD2#FFFFFF#000000##FFFFFF
##3F5CD21.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#0060D0
Tritanopia (blue-blind)
#00798E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3f5cd2;
/* rgb */ color: rgb(63, 92, 210);
/* oklch */ color: oklch(52.2% 0.185 268.7);
Tailwind
colors: {
  custom: {
    50: '#8689e1',
    500: '#3f5cd2',
    950: '#000000',
  },
}
SCSS
$custom: #3f5cd2;
$custom-light: #8689e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5cd2",
  "rgb": {
    "r": 63,
    "g": 92,
    "b": 210
  },
  "hsl": {
    "h": 228.163,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52215,
    "c": 0.18463,
    "h": 268.7
  },
  "luminance": 0.13364
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F5CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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