#3F5CCE#3F5CCE

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

Color values

HEX#3F5CCE
RGBrgb(63, 92, 206)
HSLhsl(228, 59%, 53%)
HSVhsv(228, 69%, 81%)
CMYKcmyk(69.4%, 55.3%, 0%, 19.2%)
CIE-LABlab(43.01, 27.43, -62.25)
CIE-LCHlch(43.01, 68.02, 293.78°)
OKLaboklab(51.9% -0.0044 -0.1792)
OKLCHoklch(51.9% 0.179 268.6)
XYZxyz(17.0138, 13.1656, 60.0251)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5CCE #CEB13F
analogous
#3FA4CE #3F5CCE #693FCE
triadic
#3F5CCE #CE3F5C #5CCE3F
tetradic
#3F5CCE #CE3FA4 #CEB13F #3FCE69
square
#3F5CCE #CE3FA4 #CEB13F #3FCE69
split-complementary
#3F5CCE #CE693F #A4CE3F
monochromatic
#1E2F75 #2A43A6 #3F5CCE #7085DA #A1AFE7

Accessibility & contrast

On white

5.78
#3F5CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#3F5CCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5CCE
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5CCE#FFFFFF#000000##FFFFFF
##3F5CCE1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3f5cce;
/* rgb */ color: rgb(63, 92, 206);
/* oklch */ color: oklch(51.9% 0.179 268.6);
Tailwind
colors: {
  custom: {
    50: '#8589de',
    500: '#3f5cce',
    950: '#000000',
  },
}
SCSS
$custom: #3f5cce;
$custom-light: #8589de;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5cce",
  "rgb": {
    "r": 63,
    "g": 92,
    "b": 206
  },
  "hsl": {
    "h": 227.832,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51903,
    "c": 0.17927,
    "h": 268.6
  },
  "luminance": 0.13167
}

Semantic roles & 50–950 ramp

primary
#3F5CCE
secondary
#D3C795
accent
#C345E3
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3F5CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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