#3A3EBB#3A3EBB

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

Color values

HEX#3A3EBB
RGBrgb(58, 62, 187)
HSLhsl(238, 53%, 48%)
HSVhsv(238, 69%, 73%)
CMYKcmyk(69%, 66.8%, 0%, 26.7%)
CIE-LABlab(33.84, 39.00, -66.16)
CIE-LCHlch(33.84, 76.79, 300.52°)
OKLaboklab(44.57% 0.0135 -0.1911)
OKLCHoklch(44.57% 0.192 274.1)
XYZxyz(12.4342, 7.9315, 47.8797)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3EBB #BBB73A
analogous
#3A7EBB #3A3EBB #773ABB
triadic
#3A3EBB #BB3A3E #3EBB3A
tetradic
#3A3EBB #BB3A7E #BBB73A #3ABB77
square
#3A3EBB #BB3A7E #BBB73A #3ABB77
split-complementary
#3A3EBB #BB773A #7EBB3A
monochromatic
#1D1F5E #2C2F8C #3A3EBB #6367CF #9294DD

Accessibility & contrast

On white

8.12
#3A3EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3A3EBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3EBB
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3EBB#FFFFFF#000000##FFFFFF
##3A3EBB1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BF
Deuteranopia (green-blind)
#004AB9
Tritanopia (blue-blind)
#005F77
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a3ebb;
/* rgb */ color: rgb(58, 62, 187);
/* oklch */ color: oklch(44.6% 0.192 274.1);
Tailwind
colors: {
  custom: {
    50: '#8174d1',
    500: '#3a3ebb',
    950: '#000000',
  },
}
SCSS
$custom: #3a3ebb;
$custom-light: #8174d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3ebb",
  "rgb": {
    "r": 58,
    "g": 62,
    "b": 187
  },
  "hsl": {
    "h": 238.14,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44572,
    "c": 0.19157,
    "h": 274.1
  },
  "luminance": 0.07933
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A3EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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