#3A3EBE#3A3EBE

#3A3EBE is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.9% C 0.195 H 273.9°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#3A3EBE
RGBrgb(58, 62, 190)
HSLhsl(238, 53%, 49%)
HSVhsv(238, 69%, 75%)
CMYKcmyk(69.5%, 67.4%, 0%, 25.5%)
CIE-LABlab(34.11, 40.02, -67.48)
CIE-LCHlch(34.11, 78.45, 300.67°)
OKLaboklab(44.85% 0.0132 -0.195)
OKLCHoklch(44.85% 0.195 273.9)
XYZxyz(12.7587, 8.0613, 49.5888)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3EBE #BEBA3A
analogous
#3A80BE #3A3EBE #783ABE
triadic
#3A3EBE #BE3A3E #3EBE3A
tetradic
#3A3EBE #BE3A80 #BEBA3A #3ABE78
square
#3A3EBE #BE3A80 #BEBA3A #3ABE78
split-complementary
#3A3EBE #BE783A #80BE3A
monochromatic
#1D1F60 #2C2F8F #3A3EBE #6568D0 #9496DE

Accessibility & contrast

On white

8.04
#3A3EBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3A3EBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3EBE
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3EBE#FFFFFF#000000##FFFFFF
##3A3EBE1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C2
Deuteranopia (green-blind)
#004ABC
Tritanopia (blue-blind)
#006079
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a3ebe;
/* rgb */ color: rgb(58, 62, 190);
/* oklch */ color: oklch(44.9% 0.195 273.9);
Tailwind
colors: {
  custom: {
    50: '#8274d3',
    500: '#3a3ebe',
    950: '#000000',
  },
}
SCSS
$custom: #3a3ebe;
$custom-light: #8274d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3ebe",
  "rgb": {
    "r": 58,
    "g": 62,
    "b": 190
  },
  "hsl": {
    "h": 238.182,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.44851,
    "c": 0.19541,
    "h": 273.9
  },
  "luminance": 0.08062
}

Semantic roles & 50–950 ramp

primary
#3A3EBE
secondary
#CAC88A
accent
#D84BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3A3EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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