#3F5AC0#3F5AC0

#3F5AC0 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.4% C 0.163 H 268.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#3F5AC0
RGBrgb(63, 90, 192)
HSLhsl(227, 51%, 50%)
HSVhsv(227, 67%, 75%)
CMYKcmyk(67.2%, 53.1%, 0%, 24.7%)
CIE-LABlab(41.49, 23.70, -56.61)
CIE-LCHlch(41.49, 61.37, 292.71°)
OKLaboklab(50.44% -0.0036 -0.1627)
OKLCHoklch(50.44% 0.163 268.7)
XYZxyz(15.2172, 12.1734, 51.4067)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5AC0 #C0A53F
analogous
#3F9AC0 #3F5AC0 #653FC0
triadic
#3F5AC0 #C03F5A #5AC03F
tetradic
#3F5AC0 #C03F9A #C0A53F #3FC065
square
#3F5AC0 #C03F9A #C0A53F #3FC065
split-complementary
#3F5AC0 #C0653F #9AC03F
monochromatic
#212F64 #304492 #3F5AC0 #6D82CF #9BA9DE

Accessibility & contrast

On white

6.11
#3F5AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#3F5AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5AC0
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5AC0#FFFFFF#000000##FFFFFF
##3F5AC01.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1468C4
Deuteranopia (green-blind)
#005CBE
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3f5ac0;
/* rgb */ color: rgb(63, 90, 192);
/* oklch */ color: oklch(50.4% 0.163 268.7);
Tailwind
colors: {
  custom: {
    50: '#8388d4',
    500: '#3f5ac0',
    950: '#000000',
  },
}
SCSS
$custom: #3f5ac0;
$custom-light: #8388d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5ac0",
  "rgb": {
    "r": 63,
    "g": 90,
    "b": 192
  },
  "hsl": {
    "h": 227.442,
    "s": 50.588,
    "l": 50
  },
  "oklch": {
    "l": 0.50442,
    "c": 0.16271,
    "h": 268.7
  },
  "luminance": 0.12175
}

Semantic roles & 50–950 ramp

primary
#3F5AC0
secondary
#CABE91
accent
#BD4EDA
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3F5AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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