#3F5CC0#3F5CC0

#3F5CC0 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.8% C 0.160 H 268.1°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#3F5CC0
RGBrgb(63, 92, 192)
HSLhsl(227, 51%, 50%)
HSVhsv(227, 67%, 75%)
CMYKcmyk(67.2%, 52.1%, 0%, 24.7%)
CIE-LABlab(42.02, 22.41, -55.75)
CIE-LCHlch(42.02, 60.09, 291.90°)
OKLaboklab(50.85% -0.0053 -0.1601)
OKLCHoklch(50.85% 0.16 268.1)
XYZxyz(15.3882, 12.5154, 51.4637)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5CC0 #C0A33F
analogous
#3F9CC0 #3F5CC0 #633FC0
triadic
#3F5CC0 #C03F5C #5CC03F
tetradic
#3F5CC0 #C03F9C #C0A33F #3FC063
square
#3F5CC0 #C03F9C #C0A33F #3FC063
split-complementary
#3F5CC0 #C0633F #9CC03F
monochromatic
#213064 #304692 #3F5CC0 #6D83CF #9BAADE

Accessibility & contrast

On white

5.99
#3F5CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#3F5CC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5CC0
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5CC0#FFFFFF#000000##FFFFFF
##3F5CC01.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D69C4
Deuteranopia (green-blind)
#005EBE
Tritanopia (blue-blind)
#007485
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3f5cc0;
/* rgb */ color: rgb(63, 92, 192);
/* oklch */ color: oklch(50.8% 0.160 268.1);
Tailwind
colors: {
  custom: {
    50: '#8289d4',
    500: '#3f5cc0',
    950: '#000000',
  },
}
SCSS
$custom: #3f5cc0;
$custom-light: #8289d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5cc0",
  "rgb": {
    "r": 63,
    "g": 92,
    "b": 192
  },
  "hsl": {
    "h": 226.512,
    "s": 50.588,
    "l": 50
  },
  "oklch": {
    "l": 0.50845,
    "c": 0.1602,
    "h": 268.1
  },
  "luminance": 0.12517
}

Semantic roles & 50–950 ramp

primary
#3F5CC0
secondary
#CABD91
accent
#BB4EDA
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3F5CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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