#3A24AA#3A24AA

#3A24AA is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.1% C 0.197 H 279.6°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#3A24AA
RGBrgb(58, 36, 170)
HSLhsl(250, 65%, 40%)
HSVhsv(250, 79%, 67%)
CMYKcmyk(65.9%, 78.8%, 0%, 33.3%)
CIE-LABlab(26.91, 48.12, -67.43)
CIE-LCHlch(26.91, 82.84, 305.51°)
OKLaboklab(39.14% 0.0329 -0.1947)
OKLCHoklch(39.14% 0.197 279.6)
XYZxyz(9.6292, 5.0628, 38.4922)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A24AA #94AA24
analogous
#2451AA #3A24AA #7D24AA
triadic
#3A24AA #AA3A24 #24AA3A
tetradic
#3A24AA #AA2451 #94AA24 #24AA7D
square
#3A24AA #AA2451 #94AA24 #24AA7D
split-complementary
#3A24AA #AA7D24 #51AA24
monochromatic
#180F45 #291977 #3A24AA #5137D5 #7D69DF

Accessibility & contrast

On white

10.43
#3A24AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3A24AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A24AA
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A24AA#FFFFFF#000000##FFFFFF
##3A24AA1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AE
Deuteranopia (green-blind)
#003AA8
Tritanopia (blue-blind)
#004C67
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3a24aa;
/* rgb */ color: rgb(58, 36, 170);
/* oklch */ color: oklch(39.1% 0.197 279.6);
Tailwind
colors: {
  custom: {
    50: '#8063c5',
    500: '#3a24aa',
    950: '#000000',
  },
}
SCSS
$custom: #3a24aa;
$custom-light: #8063c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a24aa",
  "rgb": {
    "r": 58,
    "g": 36,
    "b": 170
  },
  "hsl": {
    "h": 249.851,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39135,
    "c": 0.19745,
    "h": 279.6
  },
  "luminance": 0.05064
}

Semantic roles & 50–950 ramp

primary
#3A24AA
secondary
#B5C565
accent
#E840CC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3A24AA

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

Preview Lab → · Contrast checker → · Palette generator →

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