#3F5ACD#3F5ACD

#3F5ACD is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.4% C 0.180 H 269.1°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#3F5ACD
RGBrgb(63, 90, 205)
HSLhsl(229, 59%, 53%)
HSVhsv(229, 69%, 80%)
CMYKcmyk(69.3%, 56.1%, 0%, 19.6%)
CIE-LABlab(42.42, 28.35, -62.63)
CIE-LCHlch(42.42, 68.74, 294.35°)
OKLaboklab(51.44% -0.0028 -0.1804)
OKLCHoklch(51.44% 0.18 269.1)
XYZxyz(16.7217, 12.7752, 59.3304)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5ACD #CDB23F
analogous
#3FA1CD #3F5ACD #6B3FCD
triadic
#3F5ACD #CD3F5A #5ACD3F
tetradic
#3F5ACD #CD3FA1 #CDB23F #3FCD6B
square
#3F5ACD #CD3FA1 #CDB23F #3FCD6B
split-complementary
#3F5ACD #CD6B3F #A1CD3F
monochromatic
#1E2E74 #2B42A4 #3F5ACD #7084DA #A0ADE6

Accessibility & contrast

On white

5.91
#3F5ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#3F5ACD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5ACD
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5ACD#FFFFFF#000000##FFFFFF
##3F5ACD1.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#005ECB
Tritanopia (blue-blind)
#00768B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3f5acd;
/* rgb */ color: rgb(63, 90, 205);
/* oklch */ color: oklch(51.4% 0.180 269.1);
Tailwind
colors: {
  custom: {
    50: '#8588dd',
    500: '#3f5acd',
    950: '#000000',
  },
}
SCSS
$custom: #3f5acd;
$custom-light: #8588dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5acd",
  "rgb": {
    "r": 63,
    "g": 90,
    "b": 205
  },
  "hsl": {
    "h": 228.592,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51438,
    "c": 0.18038,
    "h": 269.1
  },
  "luminance": 0.12777
}

Semantic roles & 50–950 ramp

primary
#3F5ACD
secondary
#D3C795
accent
#C446E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3F5ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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