#3E3EAF#3E3EAF

#3E3EAF is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.7% C 0.175 H 276.4°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#3E3EAF
RGBrgb(62, 62, 175)
HSLhsl(240, 48%, 46%)
HSVhsv(240, 65%, 69%)
CMYKcmyk(64.6%, 64.6%, 0%, 31.4%)
CIE-LABlab(33.06, 35.45, -60.32)
CIE-LCHlch(33.06, 69.96, 300.44°)
OKLaboklab(43.75% 0.0194 -0.1739)
OKLCHoklch(43.75% 0.175 276.4)
XYZxyz(11.4446, 7.5636, 41.4059)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3EAF #AFAF3E
analogous
#3E77AF #3E3EAF #773EAF
triadic
#3E3EAF #AF3E3E #3EAF3E
tetradic
#3E3EAF #AF3E77 #AFAF3E #3EAF77
square
#3E3EAF #AF3E77 #AFAF3E #3EAF77
split-complementary
#3E3EAF #AF773E #77AF3E
monochromatic
#1E1E55 #2E2E82 #3E3EAF #6363C8 #9090D8

Accessibility & contrast

On white

8.36
#3E3EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3E3EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3EAF
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3EAF#FFFFFF#000000##FFFFFF
##3E3EAF1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3e3eaf;
/* rgb */ color: rgb(62, 62, 175);
/* oklch */ color: oklch(43.7% 0.175 276.4);
Tailwind
colors: {
  custom: {
    50: '#8174c8',
    500: '#3e3eaf',
    950: '#000000',
  },
}
SCSS
$custom: #3e3eaf;
$custom-light: #8174c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3eaf",
  "rgb": {
    "r": 62,
    "g": 62,
    "b": 175
  },
  "hsl": {
    "h": 240,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43749,
    "c": 0.17495,
    "h": 276.4
  },
  "luminance": 0.07565
}

Semantic roles & 50–950 ramp

primary
#3E3EAF
secondary
#C3C386
accent
#D751D7
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3E3EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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