#3F519E#3F519E

#3F519E is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.1% C 0.126 H 270.8°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#3F519E
RGBrgb(63, 81, 158)
HSLhsl(229, 43%, 43%)
HSVhsv(229, 60%, 62%)
CMYKcmyk(60.1%, 48.7%, 0%, 38%)
CIE-LABlab(36.76, 17.43, -44.14)
CIE-LCHlch(36.76, 47.46, 291.55°)
OKLaboklab(46.13% 0.0019 -0.1261)
OKLCHoklch(46.13% 0.126 270.8)
XYZxyz(11.1618, 9.4094, 33.5691)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F519E #9E8C3F
analogous
#3F809E #3F519E #5D3F9E
triadic
#3F519E #9E3F51 #519E3F
tetradic
#3F519E #9E3F80 #9E8C3F #3F9E5D
square
#3F519E #9E3F80 #9E8C3F #3F9E5D
split-complementary
#3F519E #9E5D3F #809E3F
monochromatic
#1C2446 #2E3B72 #3F519E #5C6FBE #8895D0

Accessibility & contrast

On white

7.29
#3F519E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#3F519E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F519E
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F519E#FFFFFF#000000##FFFFFF
##3F519E1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5BA1
Deuteranopia (green-blind)
#1B539C
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3f519e;
/* rgb */ color: rgb(63, 81, 158);
/* oklch */ color: oklch(46.1% 0.126 270.8);
Tailwind
colors: {
  custom: {
    50: '#7d81bb',
    500: '#3f519e',
    950: '#000000',
  },
}
SCSS
$custom: #3f519e;
$custom-light: #7d81bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f519e",
  "rgb": {
    "r": 63,
    "g": 81,
    "b": 158
  },
  "hsl": {
    "h": 228.632,
    "s": 42.986,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4613,
    "c": 0.12612,
    "h": 270.8
  },
  "luminance": 0.0941
}

Semantic roles & 50–950 ramp

primary
#3F519E
secondary
#BAAF7F
accent
#BB55D3
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3F519E

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

Preview Lab → · Contrast checker → · Palette generator →

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