#3E3BA2#3E3BA2

#3E3BA2 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.1% C 0.161 H 278.2°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#3E3BA2
RGBrgb(62, 59, 162)
HSLhsl(242, 47%, 43%)
HSVhsv(242, 64%, 64%)
CMYKcmyk(61.7%, 63.6%, 0%, 36.5%)
CIE-LABlab(31.25, 32.91, -55.47)
CIE-LCHlch(31.25, 64.50, 300.68°)
OKLaboklab(42.09% 0.023 -0.1596)
OKLCHoklch(42.09% 0.161 278.2)
XYZxyz(10.0701, 6.7599, 34.9496)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3BA2 #9FA23B
analogous
#3B6BA2 #3E3BA2 #713BA2
triadic
#3E3BA2 #A23E3B #3BA23E
tetradic
#3E3BA2 #A23B6B #9FA23B #3BA271
square
#3E3BA2 #A23B6B #9FA23B #3BA271
split-complementary
#3E3BA2 #A2713B #6BA23B
monochromatic
#1C1A48 #2D2B75 #3E3BA2 #5B58C2 #8785D3

Accessibility & contrast

On white

8.93
#3E3BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3E3BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3BA2
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3BA2#FFFFFF#000000##FFFFFF
##3E3BA21.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#0045A0
Tritanopia (blue-blind)
#005569
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3e3ba2;
/* rgb */ color: rgb(62, 59, 162);
/* oklch */ color: oklch(42.1% 0.161 278.2);
Tailwind
colors: {
  custom: {
    50: '#7e71be',
    500: '#3e3ba2',
    950: '#000000',
  },
}
SCSS
$custom: #3e3ba2;
$custom-light: #7e71be;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3ba2",
  "rgb": {
    "r": 62,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 241.748,
    "s": 46.606,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42092,
    "c": 0.16129,
    "h": 278.2
  },
  "luminance": 0.06761
}

Semantic roles & 50–950 ramp

primary
#3E3BA2
secondary
#BBBD7C
accent
#D652D2
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3E3BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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