#3F518D#3F518D

#3F518D is a dark, moderate blue. Relative luminance 0.089; OKLCH L 45.0% C 0.101 H 269.5°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#3F518D
RGBrgb(63, 81, 141)
HSLhsl(226, 38%, 40%)
HSVhsv(226, 55%, 55%)
CMYKcmyk(55.3%, 42.6%, 0%, 44.7%)
CIE-LABlab(35.72, 11.51, -35.52)
CIE-LCHlch(35.72, 37.34, 287.96°)
OKLaboklab(45% -0.001 -0.1008)
OKLCHoklch(45% 0.101 269.5)
XYZxyz(9.7985, 8.8640, 26.3887)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F518D #8D7B3F
analogous
#3F788D #3F518D #543F8D
triadic
#3F518D #8D3F51 #518D3F
tetradic
#3F518D #8D3F78 #8D7B3F #3F8D54
square
#3F518D #8D3F78 #8D7B3F #3F8D54
split-complementary
#3F518D #8D543F #788D3F
monochromatic
#192038 #2C3963 #3F518D #566BB3 #8090C6

Accessibility & contrast

On white

7.57
#3F518D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3F518D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F518D
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F518D#FFFFFF#000000##FFFFFF
##3F518D1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38588F
Deuteranopia (green-blind)
#2F518C
Tritanopia (blue-blind)
#175E68
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3f518d;
/* rgb */ color: rgb(63, 81, 141);
/* oklch */ color: oklch(45.0% 0.101 269.5);
Tailwind
colors: {
  custom: {
    50: '#7a81af',
    500: '#3f518d',
    950: '#000000',
  },
}
SCSS
$custom: #3f518d;
$custom-light: #7a81af;
$custom-dark: #000000;
JSON
{
  "hex": "#3f518d",
  "rgb": {
    "r": 63,
    "g": 81,
    "b": 141
  },
  "hsl": {
    "h": 226.154,
    "s": 38.235,
    "l": 40
  },
  "oklch": {
    "l": 0.44999,
    "c": 0.1008,
    "h": 269.5
  },
  "luminance": 0.08865
}

Semantic roles & 50–950 ramp

primary
#3F518D
secondary
#B1A377
accent
#B35ACE
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#0A0A10
muted
#7C7C7F

Preview Lab

Preview with #3F518D

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

Preview Lab → · Contrast checker → · Palette generator →

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