#3F5CC3#3F5CC3

#3F5CC3 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.1% C 0.164 H 268.2°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#3F5CC3
RGBrgb(63, 92, 195)
HSLhsl(227, 52%, 51%)
HSVhsv(227, 68%, 76%)
CMYKcmyk(67.7%, 52.8%, 0%, 23.5%)
CIE-LABlab(42.23, 23.49, -57.16)
CIE-LCHlch(42.23, 61.80, 292.34°)
OKLaboklab(51.07% -0.0051 -0.1642)
OKLCHoklch(51.07% 0.164 268.2)
XYZxyz(15.7240, 12.6497, 53.2322)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5CC3 #C3A63F
analogous
#3F9EC3 #3F5CC3 #643FC3
triadic
#3F5CC3 #C33F5C #5CC33F
tetradic
#3F5CC3 #C33F9E #C3A63F #3FC364
square
#3F5CC3 #C33F9E #C3A63F #3FC364
split-complementary
#3F5CC3 #C3643F #9EC33F
monochromatic
#203067 #2F4696 #3F5CC3 #6E84D2 #9CABE0

Accessibility & contrast

On white

5.95
#3F5CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#3F5CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5CC3
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5CC3#FFFFFF#000000##FFFFFF
##3F5CC31.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176AC7
Deuteranopia (green-blind)
#005EC1
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3f5cc3;
/* rgb */ color: rgb(63, 92, 195);
/* oklch */ color: oklch(51.1% 0.164 268.2);
Tailwind
colors: {
  custom: {
    50: '#8389d6',
    500: '#3f5cc3',
    950: '#000000',
  },
}
SCSS
$custom: #3f5cc3;
$custom-light: #8389d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5cc3",
  "rgb": {
    "r": 63,
    "g": 92,
    "b": 195
  },
  "hsl": {
    "h": 226.818,
    "s": 52.381,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51068,
    "c": 0.16433,
    "h": 268.2
  },
  "luminance": 0.12651
}

Semantic roles & 50–950 ramp

primary
#3F5CC3
secondary
#CCBF92
accent
#BC4CDC
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3F5CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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