#3F5CCD#3F5CCD

#3F5CCD is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.8% C 0.178 H 268.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#3F5CCD
RGBrgb(63, 92, 205)
HSLhsl(228, 59%, 53%)
HSVhsv(228, 69%, 80%)
CMYKcmyk(69.3%, 55.1%, 0%, 19.6%)
CIE-LABlab(42.94, 27.07, -61.79)
CIE-LCHlch(42.94, 67.46, 293.66°)
OKLaboklab(51.83% -0.0044 -0.1779)
OKLCHoklch(51.83% 0.178 268.6)
XYZxyz(16.8927, 13.1172, 59.3874)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5CCD #CDB03F
analogous
#3FA3CD #3F5CCD #693FCD
triadic
#3F5CCD #CD3F5C #5CCD3F
tetradic
#3F5CCD #CD3FA3 #CDB03F #3FCD69
square
#3F5CCD #CD3FA3 #CDB03F #3FCD69
split-complementary
#3F5CCD #CD693F #A3CD3F
monochromatic
#1E3074 #2B44A4 #3F5CCD #7085DA #A0AEE6

Accessibility & contrast

On white

5.80
#3F5CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#3F5CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5CCD
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5CCD#FFFFFF#000000##FFFFFF
##3F5CCD1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#00778B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3f5ccd;
/* rgb */ color: rgb(63, 92, 205);
/* oklch */ color: oklch(51.8% 0.178 268.6);
Tailwind
colors: {
  custom: {
    50: '#8589dd',
    500: '#3f5ccd',
    950: '#000000',
  },
}
SCSS
$custom: #3f5ccd;
$custom-light: #8589dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5ccd",
  "rgb": {
    "r": 63,
    "g": 92,
    "b": 205
  },
  "hsl": {
    "h": 227.746,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51826,
    "c": 0.17793,
    "h": 268.6
  },
  "luminance": 0.13119
}

Semantic roles & 50–950 ramp

primary
#3F5CCD
secondary
#D3C695
accent
#C246E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3F5CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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