#3F5CC2#3F5CC2

#3F5CC2 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.0% C 0.163 H 268.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#3F5CC2
RGBrgb(63, 92, 194)
HSLhsl(227, 52%, 50%)
HSVhsv(227, 68%, 76%)
CMYKcmyk(67.5%, 52.6%, 0%, 23.9%)
CIE-LABlab(42.16, 23.13, -56.69)
CIE-LCHlch(42.16, 61.23, 292.19°)
OKLaboklab(50.99% -0.0052 -0.1629)
OKLCHoklch(50.99% 0.163 268.2)
XYZxyz(15.6113, 12.6046, 52.6387)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5CC2 #C2A53F
analogous
#3F9DC2 #3F5CC2 #643FC2
triadic
#3F5CC2 #C23F5C #5CC23F
tetradic
#3F5CC2 #C23F9D #C2A53F #3FC264
square
#3F5CC2 #C23F9D #C2A53F #3FC264
split-complementary
#3F5CC2 #C2643F #9DC23F
monochromatic
#203066 #2F4695 #3F5CC2 #6D83D1 #9CABE0

Accessibility & contrast

On white

5.96
#3F5CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#3F5CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5CC2
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5CC2#FFFFFF#000000##FFFFFF
##3F5CC21.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196AC6
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#007486
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3f5cc2;
/* rgb */ color: rgb(63, 92, 194);
/* oklch */ color: oklch(51.0% 0.163 268.2);
Tailwind
colors: {
  custom: {
    50: '#8389d5',
    500: '#3f5cc2',
    950: '#000000',
  },
}
SCSS
$custom: #3f5cc2;
$custom-light: #8389d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5cc2",
  "rgb": {
    "r": 63,
    "g": 92,
    "b": 194
  },
  "hsl": {
    "h": 226.718,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50993,
    "c": 0.16295,
    "h": 268.2
  },
  "luminance": 0.12606
}

Semantic roles & 50–950 ramp

primary
#3F5CC2
secondary
#CCBF91
accent
#BC4DDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3F5CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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