#3E3479#3E3479

#3E3479 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.5% C 0.113 H 286.2°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#3E3479
RGBrgb(62, 52, 121)
HSLhsl(249, 40%, 34%)
HSVhsv(249, 57%, 47%)
CMYKcmyk(48.8%, 57%, 0%, 52.5%)
CIE-LABlab(26.33, 23.71, -38.13)
CIE-LCHlch(26.33, 44.90, 301.88°)
OKLaboklab(37.46% 0.0316 -0.1087)
OKLCHoklch(37.46% 0.113 286.2)
XYZxyz(6.6648, 4.8603, 18.6724)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3479 #6F7934
analogous
#344D79 #3E3479 #613479
triadic
#3E3479 #793E34 #34793E
tetradic
#3E3479 #79344D #6F7934 #347961
square
#3E3479 #79344D #6F7934 #347961
split-complementary
#3E3479 #796134 #4D7934
monochromatic
#120F23 #28224E #3E3479 #5446A4 #7569BE

Accessibility & contrast

On white

10.65
#3E3479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3E3479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3479
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3479#FFFFFF#000000##FFFFFF
##3E34791.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E407B
Deuteranopia (green-blind)
#0C3C78
Tritanopia (blue-blind)
#2B4351
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3e3479;
/* rgb */ color: rgb(62, 52, 121);
/* oklch */ color: oklch(37.5% 0.113 286.2);
Tailwind
colors: {
  custom: {
    50: '#786ba0',
    500: '#3e3479',
    950: '#000000',
  },
}
SCSS
$custom: #3e3479;
$custom-light: #786ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3479",
  "rgb": {
    "r": 62,
    "g": 52,
    "b": 121
  },
  "hsl": {
    "h": 248.696,
    "s": 39.884,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37464,
    "c": 0.1132,
    "h": 286.2
  },
  "luminance": 0.04861
}

Semantic roles & 50–950 ramp

primary
#3E3479
secondary
#9DA762
accent
#D058BE
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060F
muted
#7B7A7E

Preview Lab

Preview with #3E3479

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

Preview Lab → · Contrast checker → · Palette generator →

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