#3A24B1#3A24B1

#3A24B1 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.9% C 0.206 H 278.7°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#3A24B1
RGBrgb(58, 36, 177)
HSLhsl(249, 66%, 42%)
HSVhsv(249, 80%, 69%)
CMYKcmyk(67.2%, 79.7%, 0%, 30.6%)
CIE-LABlab(27.67, 50.23, -70.38)
CIE-LCHlch(27.67, 86.47, 305.51°)
OKLaboklab(39.88% 0.0309 -0.2033)
OKLCHoklch(39.88% 0.206 278.7)
XYZxyz(10.3091, 5.3347, 42.0729)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A24B1 #9BB124
analogous
#2454B1 #3A24B1 #8124B1
triadic
#3A24B1 #B13A24 #24B13A
tetradic
#3A24B1 #B12454 #9BB124 #24B181
square
#3A24B1 #B12454 #9BB124 #24B181
split-complementary
#3A24B1 #B18124 #54B124
monochromatic
#190F4B #291A7E #3A24B1 #533BD7 #806EE1

Accessibility & contrast

On white

10.16
#3A24B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3A24B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A24B1
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A24B1#FFFFFF#000000##FFFFFF
##3A24B11.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B5
Deuteranopia (green-blind)
#003CAF
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3a24b1;
/* rgb */ color: rgb(58, 36, 177);
/* oklch */ color: oklch(39.9% 0.206 278.7);
Tailwind
colors: {
  custom: {
    50: '#8163ca',
    500: '#3a24b1',
    950: '#000000',
  },
}
SCSS
$custom: #3a24b1;
$custom-light: #8163ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3a24b1",
  "rgb": {
    "r": 58,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 249.362,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39884,
    "c": 0.20563,
    "h": 278.7
  },
  "luminance": 0.05336
}

Semantic roles & 50–950 ramp

primary
#3A24B1
secondary
#B9C869
accent
#E93FCF
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3A24B1

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

Preview Lab → · Contrast checker → · Palette generator →

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