#3A23AE#3A23AE

#3A23AE is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.4% C 0.203 H 279.2°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#3A23AE
RGBrgb(58, 35, 174)
HSLhsl(250, 67%, 41%)
HSVhsv(250, 80%, 68%)
CMYKcmyk(66.7%, 79.9%, 0%, 31.8%)
CIE-LABlab(27.18, 49.81, -69.40)
CIE-LCHlch(27.18, 85.42, 305.67°)
OKLaboklab(39.45% 0.0323 -0.2004)
OKLCHoklch(39.45% 0.203 279.2)
XYZxyz(9.9835, 5.1568, 40.5054)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A23AE #97AE23
analogous
#2351AE #3A23AE #7F23AE
triadic
#3A23AE #AE3A23 #23AE3A
tetradic
#3A23AE #AE2351 #97AE23 #23AE7F
square
#3A23AE #AE2351 #97AE23 #23AE7F
split-complementary
#3A23AE #AE7F23 #51AE23
monochromatic
#180F48 #29197B #3A23AE #5237D7 #7E6AE1

Accessibility & contrast

On white

10.34
#3A23AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3A23AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A23AE
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A23AE#FFFFFF#000000##FFFFFF
##3A23AE1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B2
Deuteranopia (green-blind)
#003BAC
Tritanopia (blue-blind)
#004D69
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3a23ae;
/* rgb */ color: rgb(58, 35, 174);
/* oklch */ color: oklch(39.4% 0.203 279.2);
Tailwind
colors: {
  custom: {
    50: '#8162c7',
    500: '#3a23ae',
    950: '#000000',
  },
}
SCSS
$custom: #3a23ae;
$custom-light: #8162c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a23ae",
  "rgb": {
    "r": 58,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 249.928,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39446,
    "c": 0.20299,
    "h": 279.2
  },
  "luminance": 0.05158
}

Semantic roles & 50–950 ramp

primary
#3A23AE
secondary
#B7C766
accent
#E93ECD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3A23AE

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

Preview Lab → · Contrast checker → · Palette generator →

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