#3E347F#3E347F

#3E347F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.9% C 0.122 H 285.1°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#3E347F
RGBrgb(62, 52, 127)
HSLhsl(248, 42%, 35%)
HSVhsv(248, 59%, 50%)
CMYKcmyk(51.2%, 59.1%, 0%, 50.2%)
CIE-LABlab(26.77, 25.67, -41.21)
CIE-LCHlch(26.77, 48.55, 301.92°)
OKLaboklab(37.93% 0.0317 -0.1178)
OKLCHoklch(37.93% 0.122 285.1)
XYZxyz(7.0442, 5.0121, 20.6708)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E347F #757F34
analogous
#34507F #3E347F #63347F
triadic
#3E347F #7F3E34 #347F3E
tetradic
#3E347F #7F3450 #757F34 #347F63
square
#3E347F #7F3450 #757F34 #347F63
split-complementary
#3E347F #7F6334 #507F34
monochromatic
#141028 #292254 #3E347F #5346AA #776BC2

Accessibility & contrast

On white

10.49
#3E347F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3E347F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E347F
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E347F#FFFFFF#000000##FFFFFF
##3E347F1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e347f;
/* rgb */ color: rgb(62, 52, 127);
/* oklch */ color: oklch(37.9% 0.122 285.1);
Tailwind
colors: {
  custom: {
    50: '#796ca5',
    500: '#3e347f',
    950: '#000000',
  },
}
SCSS
$custom: #3e347f;
$custom-light: #796ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e347f",
  "rgb": {
    "r": 62,
    "g": 52,
    "b": 127
  },
  "hsl": {
    "h": 248,
    "s": 41.899,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37927,
    "c": 0.12195,
    "h": 285.1
  },
  "luminance": 0.05012
}

Semantic roles & 50–950 ramp

primary
#3E347F
secondary
#A1AA64
accent
#D256C1
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#09070F
muted
#7B7A7F

Preview Lab

Preview with #3E347F

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

Preview Lab → · Contrast checker → · Palette generator →

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