#3F337C#3F337C

#3F337C is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.6% C 0.119 H 286.7°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#3F337C
RGBrgb(63, 51, 124)
HSLhsl(250, 42%, 34%)
HSVhsv(250, 59%, 49%)
CMYKcmyk(49.2%, 58.9%, 0%, 51.4%)
CIE-LABlab(26.39, 25.58, -39.93)
CIE-LCHlch(26.39, 47.42, 302.64°)
OKLaboklab(37.6% 0.0343 -0.114)
OKLCHoklch(37.6% 0.119 286.7)
XYZxyz(6.8708, 4.8794, 19.6447)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F337C #707C33
analogous
#334C7C #3F337C #64337C
triadic
#3F337C #7C3F33 #337C3F
tetradic
#3F337C #7C334C #707C33 #337C64
square
#3F337C #7C334C #707C33 #337C64
split-complementary
#3F337C #7C6433 #4C7C33
monochromatic
#130F25 #292151 #3F337C #5545A7 #7768C1

Accessibility & contrast

On white

10.63
#3F337C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3F337C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F337C
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F337C#FFFFFF#000000##FFFFFF
##3F337C1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04407E
Deuteranopia (green-blind)
#033C7A
Tritanopia (blue-blind)
#2B4352
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3f337c;
/* rgb */ color: rgb(63, 51, 124);
/* oklch */ color: oklch(37.6% 0.119 286.7);
Tailwind
colors: {
  custom: {
    50: '#796ba2',
    500: '#3f337c',
    950: '#000000',
  },
}
SCSS
$custom: #3f337c;
$custom-light: #796ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f337c",
  "rgb": {
    "r": 63,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 249.863,
    "s": 41.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37598,
    "c": 0.11901,
    "h": 286.7
  },
  "luminance": 0.0488
}

Semantic roles & 50–950 ramp

primary
#3F337C
secondary
#9DA962
accent
#D256BD
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #3F337C

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

Preview Lab → · Contrast checker → · Palette generator →

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