#3F337E#3F337E

#3F337E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.8% C 0.122 H 286.3°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#3F337E
RGBrgb(63, 51, 126)
HSLhsl(250, 42%, 35%)
HSVhsv(250, 60%, 49%)
CMYKcmyk(50%, 59.5%, 0%, 50.6%)
CIE-LABlab(26.54, 26.22, -40.95)
CIE-LCHlch(26.54, 48.63, 302.64°)
OKLaboklab(37.75% 0.0343 -0.117)
OKLCHoklch(37.75% 0.122 286.3)
XYZxyz(6.9985, 4.9305, 20.3175)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F337E #727E33
analogous
#334D7E #3F337E #65337E
triadic
#3F337E #7E3F33 #337E3F
tetradic
#3F337E #7E334D #727E33 #337E65
square
#3F337E #7E334D #727E33 #337E65
split-complementary
#3F337E #7E6533 #4D7E33
monochromatic
#131027 #292152 #3F337E #5545AA #7769C2

Accessibility & contrast

On white

10.57
#3F337E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F337E
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F337E#FFFFFF#000000##FFFFFF
##3F337E1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004181
Deuteranopia (green-blind)
#003D7C
Tritanopia (blue-blind)
#294453
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3f337e;
/* rgb */ color: rgb(63, 51, 126);
/* oklch */ color: oklch(37.8% 0.122 286.3);
Tailwind
colors: {
  custom: {
    50: '#796ba4',
    500: '#3f337e',
    950: '#000000',
  },
}
SCSS
$custom: #3f337e;
$custom-light: #796ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f337e",
  "rgb": {
    "r": 63,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 249.6,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37753,
    "c": 0.1219,
    "h": 286.3
  },
  "luminance": 0.04931
}

Semantic roles & 50–950 ramp

primary
#3F337E
secondary
#9FAA63
accent
#D256BE
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #3F337E

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

Preview Lab → · Contrast checker → · Palette generator →

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