#3F5CC6#3F5CC6

#3F5CC6 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.3% C 0.168 H 268.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#3F5CC6
RGBrgb(63, 92, 198)
HSLhsl(227, 54%, 51%)
HSVhsv(227, 68%, 78%)
CMYKcmyk(68.2%, 53.5%, 0%, 22.4%)
CIE-LABlab(42.44, 24.56, -58.56)
CIE-LCHlch(42.44, 63.50, 292.76°)
OKLaboklab(51.29% -0.0049 -0.1684)
OKLCHoklch(51.29% 0.168 268.3)
XYZxyz(16.0666, 12.7867, 55.0365)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5CC6 #C6A93F
analogous
#3F9FC6 #3F5CC6 #653FC6
triadic
#3F5CC6 #C63F5C #5CC63F
tetradic
#3F5CC6 #C63F9F #C6A93F #3FC665
square
#3F5CC6 #C63F9F #C6A93F #3FC665
split-complementary
#3F5CC6 #C6653F #9FC63F
monochromatic
#20306B #2E459A #3F5CC6 #6E84D4 #9DACE2

Accessibility & contrast

On white

5.90
#3F5CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#3F5CC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5CC6
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5CC6#FFFFFF#000000##FFFFFF
##3F5CC61.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E6BCA
Deuteranopia (green-blind)
#005EC4
Tritanopia (blue-blind)
#007588
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3f5cc6;
/* rgb */ color: rgb(63, 92, 198);
/* oklch */ color: oklch(51.3% 0.168 268.3);
Tailwind
colors: {
  custom: {
    50: '#8489d8',
    500: '#3f5cc6',
    950: '#000000',
  },
}
SCSS
$custom: #3f5cc6;
$custom-light: #8489d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5cc6",
  "rgb": {
    "r": 63,
    "g": 92,
    "b": 198
  },
  "hsl": {
    "h": 227.111,
    "s": 54.217,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51292,
    "c": 0.16844,
    "h": 268.3
  },
  "luminance": 0.12788
}

Semantic roles & 50–950 ramp

primary
#3F5CC6
secondary
#CEC193
accent
#BE4ADE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3F5CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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