#3A3EBA#3A3EBA

#3A3EBA is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.5% C 0.190 H 274.1°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#3A3EBA
RGBrgb(58, 62, 186)
HSLhsl(238, 52%, 48%)
HSVhsv(238, 69%, 73%)
CMYKcmyk(68.8%, 66.7%, 0%, 27.1%)
CIE-LABlab(33.75, 38.65, -65.71)
CIE-LCHlch(33.75, 76.24, 300.46°)
OKLaboklab(44.48% 0.0136 -0.1898)
OKLCHoklch(44.48% 0.19 274.1)
XYZxyz(12.3275, 7.8888, 47.3179)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3EBA #BAB63A
analogous
#3A7EBA #3A3EBA #763ABA
triadic
#3A3EBA #BA3A3E #3EBA3A
tetradic
#3A3EBA #BA3A7E #BAB63A #3ABA76
square
#3A3EBA #BA3A7E #BAB63A #3ABA76
split-complementary
#3A3EBA #BA763A #7EBA3A
monochromatic
#1D1F5D #2B2E8B #3A3EBA #6366CE #9294DD

Accessibility & contrast

On white

8.15
#3A3EBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3A3EBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3EBA
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3EBA#FFFFFF#000000##FFFFFF
##3A3EBA1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#0049B8
Tritanopia (blue-blind)
#005F76
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3a3eba;
/* rgb */ color: rgb(58, 62, 186);
/* oklch */ color: oklch(44.5% 0.190 274.1);
Tailwind
colors: {
  custom: {
    50: '#8174d0',
    500: '#3a3eba',
    950: '#000000',
  },
}
SCSS
$custom: #3a3eba;
$custom-light: #8174d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3eba",
  "rgb": {
    "r": 58,
    "g": 62,
    "b": 186
  },
  "hsl": {
    "h": 238.125,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44479,
    "c": 0.19028,
    "h": 274.1
  },
  "luminance": 0.0789
}

Semantic roles & 50–950 ramp

primary
#3A3EBA
secondary
#C8C688
accent
#D74CDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3A3EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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