#3F5DCC#3F5DCC

#3F5DCC is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.9% C 0.175 H 268.3°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#3F5DCC
RGBrgb(63, 93, 204)
HSLhsl(227, 58%, 52%)
HSVhsv(227, 69%, 80%)
CMYKcmyk(69.1%, 54.4%, 0%, 20%)
CIE-LABlab(43.13, 26.07, -60.91)
CIE-LCHlch(43.13, 66.25, 293.18°)
OKLaboklab(51.94% -0.0053 -0.1753)
OKLCHoklch(51.94% 0.175 268.3)
XYZxyz(16.8596, 13.2434, 58.7828)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5DCC #CCAE3F
analogous
#3FA4CC #3F5DCC #673FCC
triadic
#3F5DCC #CC3F5D #5DCC3F
tetradic
#3F5DCC #CC3FA4 #CCAE3F #3FCC67
square
#3F5DCC #CC3FA4 #CCAE3F #3FCC67
split-complementary
#3F5DCC #CC673F #A4CC3F
monochromatic
#1E3072 #2B45A3 #3F5DCC #6F86D9 #A0AFE6

Accessibility & contrast

On white

5.76
#3F5DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#3F5DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5DCC
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5DCC#FFFFFF#000000##FFFFFF
##3F5DCC1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD0
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#00788B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3f5dcc;
/* rgb */ color: rgb(63, 93, 204);
/* oklch */ color: oklch(51.9% 0.175 268.3);
Tailwind
colors: {
  custom: {
    50: '#858adc',
    500: '#3f5dcc',
    950: '#000000',
  },
}
SCSS
$custom: #3f5dcc;
$custom-light: #858adc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5dcc",
  "rgb": {
    "r": 63,
    "g": 93,
    "b": 204
  },
  "hsl": {
    "h": 227.234,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51945,
    "c": 0.17534,
    "h": 268.3
  },
  "luminance": 0.13245
}

Semantic roles & 50–950 ramp

primary
#3F5DCC
secondary
#D2C595
accent
#C047E1
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3F5DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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