#3A3EBD#3A3EBD

#3A3EBD is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.8% C 0.194 H 273.9°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#3A3EBD
RGBrgb(58, 62, 189)
HSLhsl(238, 53%, 48%)
HSVhsv(238, 69%, 74%)
CMYKcmyk(69.3%, 67.2%, 0%, 25.9%)
CIE-LABlab(34.02, 39.68, -67.04)
CIE-LCHlch(34.02, 77.90, 300.62°)
OKLaboklab(44.76% 0.0133 -0.1937)
OKLCHoklch(44.76% 0.194 273.9)
XYZxyz(12.6498, 8.0177, 49.0152)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3EBD #BDB93A
analogous
#3A7FBD #3A3EBD #773ABD
triadic
#3A3EBD #BD3A3E #3EBD3A
tetradic
#3A3EBD #BD3A7F #BDB93A #3ABD77
square
#3A3EBD #BD3A7F #BDB93A #3ABD77
split-complementary
#3A3EBD #BD773A #7FBD3A
monochromatic
#1D1F5F #2C2F8E #3A3EBD #6568D0 #9396DE

Accessibility & contrast

On white

8.07
#3A3EBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3A3EBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3EBD
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3EBD#FFFFFF#000000##FFFFFF
##3A3EBD1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C1
Deuteranopia (green-blind)
#004ABB
Tritanopia (blue-blind)
#006078
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a3ebd;
/* rgb */ color: rgb(58, 62, 189);
/* oklch */ color: oklch(44.8% 0.194 273.9);
Tailwind
colors: {
  custom: {
    50: '#8274d2',
    500: '#3a3ebd',
    950: '#000000',
  },
}
SCSS
$custom: #3a3ebd;
$custom-light: #8274d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3ebd",
  "rgb": {
    "r": 58,
    "g": 62,
    "b": 189
  },
  "hsl": {
    "h": 238.168,
    "s": 53.036,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44757,
    "c": 0.19413,
    "h": 273.9
  },
  "luminance": 0.08019
}

Semantic roles & 50–950 ramp

primary
#3A3EBD
secondary
#C9C78A
accent
#D84BDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3A3EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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