#3F5CC4#3F5CC4

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

Color values

HEX#3F5CC4
RGBrgb(63, 92, 196)
HSLhsl(227, 53%, 51%)
HSVhsv(227, 68%, 77%)
CMYKcmyk(67.9%, 53.1%, 0%, 23.1%)
CIE-LABlab(42.30, 23.85, -57.63)
CIE-LCHlch(42.30, 62.36, 292.48°)
OKLaboklab(51.14% -0.005 -0.1656)
OKLCHoklch(51.14% 0.166 268.3)
XYZxyz(15.8374, 12.6950, 53.8296)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5CC4 #C4A73F
analogous
#3F9FC4 #3F5CC4 #643FC4
triadic
#3F5CC4 #C43F5C #5CC43F
tetradic
#3F5CC4 #C43F9F #C4A73F #3FC464
square
#3F5CC4 #C43F9F #C4A73F #3FC464
split-complementary
#3F5CC4 #C4643F #9FC43F
monochromatic
#203068 #2E4597 #3F5CC4 #6E84D2 #9DABE1

Accessibility & contrast

On white

5.93
#3F5CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#3F5CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5CC4
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5CC4#FFFFFF#000000##FFFFFF
##3F5CC41.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#146AC8
Deuteranopia (green-blind)
#005EC2
Tritanopia (blue-blind)
#007587
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3f5cc4;
/* rgb */ color: rgb(63, 92, 196);
/* oklch */ color: oklch(51.1% 0.166 268.3);
Tailwind
colors: {
  custom: {
    50: '#8389d7',
    500: '#3f5cc4',
    950: '#000000',
  },
}
SCSS
$custom: #3f5cc4;
$custom-light: #8389d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5cc4",
  "rgb": {
    "r": 63,
    "g": 92,
    "b": 196
  },
  "hsl": {
    "h": 226.917,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51142,
    "c": 0.1657,
    "h": 268.3
  },
  "luminance": 0.12697
}

Semantic roles & 50–950 ramp

primary
#3F5CC4
secondary
#CDC092
accent
#BD4BDC
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3F5CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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