#3E36B2#3E36B2

#3E36B2 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.7% C 0.188 H 277.7°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#3E36B2
RGBrgb(62, 54, 178)
HSLhsl(244, 53%, 45%)
HSVhsv(244, 70%, 70%)
CMYKcmyk(65.2%, 69.7%, 0%, 30.2%)
CIE-LABlab(31.52, 41.30, -64.62)
CIE-LCHlch(31.52, 76.69, 302.59°)
OKLaboklab(42.72% 0.0252 -0.1865)
OKLCHoklch(42.72% 0.188 277.7)
XYZxyz(11.3391, 6.8759, 42.8405)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E36B2 #AAB236
analogous
#366CB2 #3E36B2 #7C36B2
triadic
#3E36B2 #B23E36 #36B23E
tetradic
#3E36B2 #B2366C #AAB236 #36B27C
square
#3E36B2 #B2366C #AAB236 #36B27C
split-complementary
#3E36B2 #B27C36 #6CB236
monochromatic
#1D1A54 #2E2883 #3E36B2 #6059CD #8D88DB

Accessibility & contrast

On white

8.84
#3E36B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3E36B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E36B2
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E36B2#FFFFFF#000000##FFFFFF
##3E36B21.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB6
Deuteranopia (green-blind)
#0045B0
Tritanopia (blue-blind)
#005770
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3e36b2;
/* rgb */ color: rgb(62, 54, 178);
/* oklch */ color: oklch(42.7% 0.188 277.7);
Tailwind
colors: {
  custom: {
    50: '#826eca',
    500: '#3e36b2',
    950: '#000000',
  },
}
SCSS
$custom: #3e36b2;
$custom-light: #826eca;
$custom-dark: #000000;
JSON
{
  "hex": "#3e36b2",
  "rgb": {
    "r": 62,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 243.871,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42719,
    "c": 0.18819,
    "h": 277.7
  },
  "luminance": 0.06877
}

Semantic roles & 50–950 ramp

primary
#3E36B2
secondary
#C0C57F
accent
#DD4BD3
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3E36B2

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

Preview Lab → · Contrast checker → · Palette generator →

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