#3F519A#3F519A

#3F519A is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.9% C 0.120 H 270.6°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#3F519A
RGBrgb(63, 81, 154)
HSLhsl(228, 42%, 43%)
HSVhsv(228, 59%, 60%)
CMYKcmyk(59.1%, 47.4%, 0%, 39.6%)
CIE-LABlab(36.51, 16.03, -42.15)
CIE-LCHlch(36.51, 45.09, 290.82°)
OKLaboklab(45.85% 0.0013 -0.1202)
OKLCHoklch(45.85% 0.12 270.6)
XYZxyz(10.8231, 9.2739, 31.7853)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F519A #9A883F
analogous
#3F7E9A #3F519A #5B3F9A
triadic
#3F519A #9A3F51 #519A3F
tetradic
#3F519A #9A3F7E #9A883F #3F9A5B
square
#3F519A #9A3F7E #9A883F #3F9A5B
split-complementary
#3F519A #9A5B3F #7E9A3F
monochromatic
#1B2343 #2D3A6F #3F519A #5A6EBC #8694CD

Accessibility & contrast

On white

7.36
#3F519A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#3F519A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F519A
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F519A#FFFFFF#000000##FFFFFF
##3F519A1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5A9D
Deuteranopia (green-blind)
#215298
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3f519a;
/* rgb */ color: rgb(63, 81, 154);
/* oklch */ color: oklch(45.9% 0.120 270.6);
Tailwind
colors: {
  custom: {
    50: '#7c81b8',
    500: '#3f519a',
    950: '#000000',
  },
}
SCSS
$custom: #3f519a;
$custom-light: #7c81b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f519a",
  "rgb": {
    "r": 63,
    "g": 81,
    "b": 154
  },
  "hsl": {
    "h": 228.132,
    "s": 41.935,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45854,
    "c": 0.12024,
    "h": 270.6
  },
  "luminance": 0.09275
}

Semantic roles & 50–950 ramp

primary
#3F519A
secondary
#B8AC7D
accent
#B956D2
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #3F519A

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

Preview Lab → · Contrast checker → · Palette generator →

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