#3E34B2#3E34B2

#3E34B2 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.4% C 0.190 H 278.0°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#3E34B2
RGBrgb(62, 52, 178)
HSLhsl(245, 55%, 45%)
HSVhsv(245, 71%, 70%)
CMYKcmyk(65.2%, 70.8%, 0%, 30.2%)
CIE-LABlab(31.10, 42.47, -65.31)
CIE-LCHlch(31.10, 77.91, 303.03°)
OKLaboklab(42.42% 0.0267 -0.1885)
OKLCHoklch(42.42% 0.19 278)
XYZxyz(11.2479, 6.6935, 42.8101)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E34B2 #A8B234
analogous
#3469B2 #3E34B2 #7D34B2
triadic
#3E34B2 #B23E34 #34B23E
tetradic
#3E34B2 #B23469 #A8B234 #34B27D
square
#3E34B2 #B23469 #A8B234 #34B27D
split-complementary
#3E34B2 #B27D34 #69B234
monochromatic
#1D1853 #2E2683 #3E34B2 #5F56CE #8C85DB

Accessibility & contrast

On white

8.98
#3E34B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#3E34B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E34B2
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E34B2#FFFFFF#000000##FFFFFF
##3E34B21.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#0044B0
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3e34b2;
/* rgb */ color: rgb(62, 52, 178);
/* oklch */ color: oklch(42.4% 0.190 278.0);
Tailwind
colors: {
  custom: {
    50: '#826dca',
    500: '#3e34b2',
    950: '#000000',
  },
}
SCSS
$custom: #3e34b2;
$custom-light: #826dca;
$custom-dark: #000000;
JSON
{
  "hex": "#3e34b2",
  "rgb": {
    "r": 62,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 244.762,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42415,
    "c": 0.19039,
    "h": 278
  },
  "luminance": 0.06694
}

Semantic roles & 50–950 ramp

primary
#3E34B2
secondary
#BFC57D
accent
#DE4AD2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3E34B2

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

Preview Lab → · Contrast checker → · Palette generator →

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