#3F337F#3F337F

#3F337F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.8% C 0.123 H 286.1°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#3F337F
RGBrgb(63, 51, 127)
HSLhsl(249, 43%, 35%)
HSVhsv(249, 60%, 50%)
CMYKcmyk(50.4%, 59.8%, 0%, 50.2%)
CIE-LABlab(26.61, 26.55, -41.46)
CIE-LCHlch(26.61, 49.23, 302.63°)
OKLaboklab(37.83% 0.0343 -0.1185)
OKLCHoklch(37.83% 0.123 286.1)
XYZxyz(7.0634, 4.9564, 20.6591)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F337F #737F33
analogous
#334D7F #3F337F #65337F
triadic
#3F337F #7F3F33 #337F3F
tetradic
#3F337F #7F334D #737F33 #337F65
square
#3F337F #7F334D #737F33 #337F65
split-complementary
#3F337F #7F6533 #4D7F33
monochromatic
#141028 #292153 #3F337F #5545AB #7869C3

Accessibility & contrast

On white

10.55
#3F337F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3F337F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F337F
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F337F#FFFFFF#000000##FFFFFF
##3F337F1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004182
Deuteranopia (green-blind)
#003D7D
Tritanopia (blue-blind)
#294454
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3f337f;
/* rgb */ color: rgb(63, 51, 127);
/* oklch */ color: oklch(37.8% 0.123 286.1);
Tailwind
colors: {
  custom: {
    50: '#796ba5',
    500: '#3f337f',
    950: '#000000',
  },
}
SCSS
$custom: #3f337f;
$custom-light: #796ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f337f",
  "rgb": {
    "r": 63,
    "g": 51,
    "b": 127
  },
  "hsl": {
    "h": 249.474,
    "s": 42.697,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37832,
    "c": 0.12333,
    "h": 286.1
  },
  "luminance": 0.04957
}

Semantic roles & 50–950 ramp

primary
#3F337F
secondary
#9FAB63
accent
#D255BF
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #3F337F

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

Preview Lab → · Contrast checker → · Palette generator →

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