#3F55C5#3F55C5

#3F55C5 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.8% C 0.176 H 270.3°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#3F55C5
RGBrgb(63, 85, 197)
HSLhsl(230, 54%, 51%)
HSVhsv(230, 68%, 77%)
CMYKcmyk(68%, 56.9%, 0%, 22.7%)
CIE-LABlab(40.55, 28.69, -61.05)
CIE-LCHlch(40.55, 67.45, 295.17°)
OKLaboklab(49.85% 0.001 -0.1758)
OKLCHoklch(49.85% 0.176 270.3)
XYZxyz(15.3730, 11.5835, 54.2382)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F55C5 #C5AF3F
analogous
#3F98C5 #3F55C5 #6C3FC5
triadic
#3F55C5 #C53F55 #55C53F
tetradic
#3F55C5 #C53F98 #C5AF3F #3FC56C
square
#3F55C5 #C53F98 #C5AF3F #3FC56C
split-complementary
#3F55C5 #C56C3F #98C53F
monochromatic
#202C6A #2E4099 #3F55C5 #6E7FD3 #9DA8E1

Accessibility & contrast

On white

6.33
#3F55C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#3F55C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F55C5
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F55C5#FFFFFF#000000##FFFFFF
##3F55C51.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#005AC3
Tritanopia (blue-blind)
#007085
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3f55c5;
/* rgb */ color: rgb(63, 85, 197);
/* oklch */ color: oklch(49.8% 0.176 270.3);
Tailwind
colors: {
  custom: {
    50: '#8484d7',
    500: '#3f55c5',
    950: '#000000',
  },
}
SCSS
$custom: #3f55c5;
$custom-light: #8484d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f55c5",
  "rgb": {
    "r": 63,
    "g": 85,
    "b": 197
  },
  "hsl": {
    "h": 230.149,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49847,
    "c": 0.17579,
    "h": 270.3
  },
  "luminance": 0.11585
}

Semantic roles & 50–950 ramp

primary
#3F55C5
secondary
#CEC492
accent
#C54BDD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3F55C5

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

Preview Lab → · Contrast checker → · Palette generator →

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