#3E3AC8#3E3AC8

#3E3AC8 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.4% C 0.211 H 275.2°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#3E3AC8
RGBrgb(62, 58, 200)
HSLhsl(242, 56%, 51%)
HSVhsv(242, 71%, 78%)
CMYKcmyk(69%, 71%, 0%, 21.6%)
CIE-LABlab(34.44, 46.17, -72.79)
CIE-LCHlch(34.44, 86.20, 302.39°)
OKLaboklab(45.43% 0.0191 -0.2104)
OKLCHoklch(45.43% 0.211 275.2)
XYZxyz(13.9215, 8.2191, 55.4852)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3AC8 #C4C83A
analogous
#3A7DC8 #3E3AC8 #853AC8
triadic
#3E3AC8 #C83E3A #3AC83E
tetradic
#3E3AC8 #C83A7D #C4C83A #3AC885
square
#3E3AC8 #C83A7D #C4C83A #3AC885
split-complementary
#3E3AC8 #C8853A #7DC83A
monochromatic
#201E6A #2E2B9A #3E3AC8 #6D6AD5 #9C9AE3

Accessibility & contrast

On white

7.94
#3E3AC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3E3AC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3AC8
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3AC8#FFFFFF#000000##FFFFFF
##3E3AC81.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CC
Deuteranopia (green-blind)
#004AC5
Tritanopia (blue-blind)
#00627D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3e3ac8;
/* rgb */ color: rgb(62, 58, 200);
/* oklch */ color: oklch(45.4% 0.211 275.2);
Tailwind
colors: {
  custom: {
    50: '#8672da',
    500: '#3e3ac8',
    950: '#000000',
  },
}
SCSS
$custom: #3e3ac8;
$custom-light: #8672da;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3ac8",
  "rgb": {
    "r": 62,
    "g": 58,
    "b": 200
  },
  "hsl": {
    "h": 241.69,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.45435,
    "c": 0.21125,
    "h": 275.2
  },
  "luminance": 0.0822
}

Semantic roles & 50–950 ramp

primary
#3E3AC8
secondary
#CDCE8F
accent
#E048DB
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3E3AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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