#3F5DCF#3F5DCF

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

Color values

HEX#3F5DCF
RGBrgb(63, 93, 207)
HSLhsl(228, 60%, 53%)
HSVhsv(228, 70%, 81%)
CMYKcmyk(69.6%, 55.1%, 0%, 18.8%)
CIE-LABlab(43.34, 27.15, -62.28)
CIE-LCHlch(43.34, 67.94, 293.55°)
OKLaboklab(52.18% -0.0051 -0.1793)
OKLCHoklch(52.18% 0.179 268.4)
XYZxyz(17.2229, 13.3887, 60.6960)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5DCF #CFB13F
analogous
#3FA5CF #3F5DCF #693FCF
triadic
#3F5DCF #CF3F5D #5DCF3F
tetradic
#3F5DCF #CF3FA5 #CFB13F #3FCF69
square
#3F5DCF #CF3FA5 #CFB13F #3FCF69
split-complementary
#3F5DCF #CF693F #A5CF3F
monochromatic
#1E3076 #2A44A7 #3F5DCF #7086DB #A1B0E7

Accessibility & contrast

On white

5.71
#3F5DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#3F5DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5DCF
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5DCF#FFFFFF#000000##FFFFFF
##3F5DCF1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#0060CD
Tritanopia (blue-blind)
#00798D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3f5dcf;
/* rgb */ color: rgb(63, 93, 207);
/* oklch */ color: oklch(52.2% 0.179 268.4);
Tailwind
colors: {
  custom: {
    50: '#858ade',
    500: '#3f5dcf',
    950: '#000000',
  },
}
SCSS
$custom: #3f5dcf;
$custom-light: #858ade;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5dcf",
  "rgb": {
    "r": 63,
    "g": 93,
    "b": 207
  },
  "hsl": {
    "h": 227.5,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52175,
    "c": 0.17938,
    "h": 268.4
  },
  "luminance": 0.1339
}

Semantic roles & 50–950 ramp

primary
#3F5DCF
secondary
#D4C796
accent
#C245E3
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3F5DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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