#3F5FD2#3F5FD2

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

Color values

HEX#3F5FD2
RGBrgb(63, 95, 210)
HSLhsl(227, 62%, 54%)
HSVhsv(227, 70%, 82%)
CMYKcmyk(70%, 54.8%, 0%, 17.6%)
CIE-LABlab(44.08, 26.95, -62.81)
CIE-LCHlch(44.08, 68.35, 293.22°)
OKLaboklab(52.8% -0.0066 -0.1808)
OKLCHoklch(52.8% 0.181 267.9)
XYZxyz(17.7709, 13.8925, 62.7052)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5FD2 #D2B23F
analogous
#3FA8D2 #3F5FD2 #683FD2
triadic
#3F5FD2 #D23F5F #5FD23F
tetradic
#3F5FD2 #D23FA8 #D2B23F #3FD268
square
#3F5FD2 #D23FA8 #D2B23F #3FD268
split-complementary
#3F5FD2 #D2683F #A8D23F
monochromatic
#1D317A #2845AC #3F5FD2 #7188DE #A2B2E9

Accessibility & contrast

On white

5.56
#3F5FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#3F5FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5FD2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5FD2#FFFFFF#000000##FFFFFF
##3F5FD21.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f5fd2;
/* rgb */ color: rgb(63, 95, 210);
/* oklch */ color: oklch(52.8% 0.181 267.9);
Tailwind
colors: {
  custom: {
    50: '#868ce1',
    500: '#3f5fd2',
    950: '#000000',
  },
}
SCSS
$custom: #3f5fd2;
$custom-light: #868ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5fd2",
  "rgb": {
    "r": 63,
    "g": 95,
    "b": 210
  },
  "hsl": {
    "h": 226.939,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52796,
    "c": 0.18096,
    "h": 267.9
  },
  "luminance": 0.13894
}

Semantic roles & 50–950 ramp

primary
#3F5FD2
secondary
#D6C897
accent
#C243E5
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0C15
muted
#7D7D83

Preview Lab

Preview with #3F5FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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