#3F5CC5#3F5CC5

#3F5CC5 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.2% C 0.167 H 268.3°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#3F5CC5
RGBrgb(63, 92, 197)
HSLhsl(227, 54%, 51%)
HSVhsv(227, 68%, 77%)
CMYKcmyk(68%, 53.3%, 0%, 22.7%)
CIE-LABlab(42.37, 24.20, -58.09)
CIE-LCHlch(42.37, 62.93, 292.62°)
OKLaboklab(51.22% -0.0049 -0.167)
OKLCHoklch(51.22% 0.167 268.3)
XYZxyz(15.9516, 12.7407, 54.4310)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5CC5 #C5A83F
analogous
#3F9FC5 #3F5CC5 #653FC5
triadic
#3F5CC5 #C53F5C #5CC53F
tetradic
#3F5CC5 #C53F9F #C5A83F #3FC565
square
#3F5CC5 #C53F9F #C5A83F #3FC565
split-complementary
#3F5CC5 #C5653F #9FC53F
monochromatic
#20306A #2E4599 #3F5CC5 #6E84D3 #9DACE1

Accessibility & contrast

On white

5.92
#3F5CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#3F5CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5CC5
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5CC5#FFFFFF#000000##FFFFFF
##3F5CC51.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#126AC9
Deuteranopia (green-blind)
#005EC3
Tritanopia (blue-blind)
#007587
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3f5cc5;
/* rgb */ color: rgb(63, 92, 197);
/* oklch */ color: oklch(51.2% 0.167 268.3);
Tailwind
colors: {
  custom: {
    50: '#8389d7',
    500: '#3f5cc5',
    950: '#000000',
  },
}
SCSS
$custom: #3f5cc5;
$custom-light: #8389d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5cc5",
  "rgb": {
    "r": 63,
    "g": 92,
    "b": 197
  },
  "hsl": {
    "h": 227.015,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51217,
    "c": 0.16707,
    "h": 268.3
  },
  "luminance": 0.12742
}

Semantic roles & 50–950 ramp

primary
#3F5CC5
secondary
#CEC192
accent
#BD4BDD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3F5CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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