#3E34AF#3E34AF

#3E34AF is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.1% C 0.187 H 278.4°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#3E34AF
RGBrgb(62, 52, 175)
HSLhsl(245, 54%, 45%)
HSVhsv(245, 70%, 69%)
CMYKcmyk(64.6%, 70.3%, 0%, 31.4%)
CIE-LABlab(30.82, 41.49, -63.99)
CIE-LCHlch(30.82, 76.26, 302.96°)
OKLaboklab(42.13% 0.0272 -0.1846)
OKLCHoklch(42.13% 0.187 278.4)
XYZxyz(10.9500, 6.5744, 41.2411)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E34AF #A5AF34
analogous
#3468AF #3E34AF #7C34AF
triadic
#3E34AF #AF3E34 #34AF3E
tetradic
#3E34AF #AF3468 #A5AF34 #34AF7C
square
#3E34AF #AF3468 #A5AF34 #34AF7C
split-complementary
#3E34AF #AF7C34 #68AF34
monochromatic
#1D1851 #2D2680 #3E34AF #5E54CC #8A83DA

Accessibility & contrast

On white

9.07
#3E34AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#3E34AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E34AF
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E34AF#FFFFFF#000000##FFFFFF
##3E34AF1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#0043AD
Tritanopia (blue-blind)
#00556D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3e34af;
/* rgb */ color: rgb(62, 52, 175);
/* oklch */ color: oklch(42.1% 0.187 278.4);
Tailwind
colors: {
  custom: {
    50: '#816dc8',
    500: '#3e34af',
    950: '#000000',
  },
}
SCSS
$custom: #3e34af;
$custom-light: #816dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e34af",
  "rgb": {
    "r": 62,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 244.878,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42129,
    "c": 0.18662,
    "h": 278.4
  },
  "luminance": 0.06575
}

Semantic roles & 50–950 ramp

primary
#3E34AF
secondary
#BEC47B
accent
#DE4AD2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3E34AF

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

Preview Lab → · Contrast checker → · Palette generator →

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