#3F5DC4#3F5DC4

#3F5DC4 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.3% C 0.164 H 267.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#3F5DC4
RGBrgb(63, 93, 196)
HSLhsl(226, 53%, 51%)
HSVhsv(226, 68%, 77%)
CMYKcmyk(67.9%, 52.6%, 0%, 23.1%)
CIE-LABlab(42.57, 23.20, -57.20)
CIE-LCHlch(42.57, 61.72, 292.08°)
OKLaboklab(51.34% -0.0059 -0.1643)
OKLCHoklch(51.34% 0.164 267.9)
XYZxyz(15.9246, 12.8694, 53.8587)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5DC4 #C4A63F
analogous
#3F9FC4 #3F5DC4 #633FC4
triadic
#3F5DC4 #C43F5D #5DC43F
tetradic
#3F5DC4 #C43F9F #C4A63F #3FC463
square
#3F5DC4 #C43F9F #C4A63F #3FC463
split-complementary
#3F5DC4 #C4633F #9FC43F
monochromatic
#203068 #2E4697 #3F5DC4 #6E84D2 #9DACE1

Accessibility & contrast

On white

5.88
#3F5DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#3F5DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5DC4
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5DC4#FFFFFF#000000##FFFFFF
##3F5DC41.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196BC8
Deuteranopia (green-blind)
#005FC2
Tritanopia (blue-blind)
#007587
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3f5dc4;
/* rgb */ color: rgb(63, 93, 196);
/* oklch */ color: oklch(51.3% 0.164 267.9);
Tailwind
colors: {
  custom: {
    50: '#838ad7',
    500: '#3f5dc4',
    950: '#000000',
  },
}
SCSS
$custom: #3f5dc4;
$custom-light: #838ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5dc4",
  "rgb": {
    "r": 63,
    "g": 93,
    "b": 196
  },
  "hsl": {
    "h": 226.466,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51343,
    "c": 0.16445,
    "h": 267.9
  },
  "luminance": 0.12871
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F5DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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