#3E34B8#3E34B8

#3E34B8 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 43.0% C 0.198 H 277.4°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#3E34B8
RGBrgb(62, 52, 184)
HSLhsl(245, 56%, 46%)
HSVhsv(245, 72%, 72%)
CMYKcmyk(66.3%, 71.7%, 0%, 27.8%)
CIE-LABlab(31.67, 44.41, -67.94)
CIE-LCHlch(31.67, 81.16, 303.17°)
OKLaboklab(43% 0.0256 -0.1962)
OKLCHoklch(43% 0.198 277.4)
XYZxyz(11.8635, 6.9398, 46.0524)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E34B8 #AEB834
analogous
#346CB8 #3E34B8 #8034B8
triadic
#3E34B8 #B83E34 #34B83E
tetradic
#3E34B8 #B8346C #AEB834 #34B880
square
#3E34B8 #B8346C #AEB834 #34B880
split-complementary
#3E34B8 #B88034 #6CB834
monochromatic
#1E1959 #2E2788 #3E34B8 #6259D0 #8F89DE

Accessibility & contrast

On white

8.79
#3E34B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3E34B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E34B8
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E34B8#FFFFFF#000000##FFFFFF
##3E34B81.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BC
Deuteranopia (green-blind)
#0045B6
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3e34b8;
/* rgb */ color: rgb(62, 52, 184);
/* oklch */ color: oklch(43.0% 0.198 277.4);
Tailwind
colors: {
  custom: {
    50: '#836dce',
    500: '#3e34b8',
    950: '#000000',
  },
}
SCSS
$custom: #3e34b8;
$custom-light: #836dce;
$custom-dark: #000000;
JSON
{
  "hex": "#3e34b8",
  "rgb": {
    "r": 62,
    "g": 52,
    "b": 184
  },
  "hsl": {
    "h": 244.545,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.42996,
    "c": 0.19785,
    "h": 277.4
  },
  "luminance": 0.06941
}

Semantic roles & 50–950 ramp

primary
#3E34B8
secondary
#C2C880
accent
#DF49D4
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3E34B8

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

Preview Lab → · Contrast checker → · Palette generator →

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