#3A24B5#3A24B5

#3A24B5 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.3% C 0.210 H 278.1°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#3A24B5
RGBrgb(58, 36, 181)
HSLhsl(249, 67%, 43%)
HSVhsv(249, 80%, 71%)
CMYKcmyk(68%, 80.1%, 0%, 29%)
CIE-LABlab(28.11, 51.42, -72.05)
CIE-LCHlch(28.11, 88.52, 305.52°)
OKLaboklab(40.32% 0.0298 -0.2081)
OKLCHoklch(40.32% 0.21 278.1)
XYZxyz(10.7136, 5.4966, 44.2034)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A24B5 #9FB524
analogous
#2457B5 #3A24B5 #8224B5
triadic
#3A24B5 #B53A24 #24B53A
tetradic
#3A24B5 #B52457 #9FB524 #24B582
square
#3A24B5 #B52457 #9FB524 #24B582
split-complementary
#3A24B5 #B58224 #57B524
monochromatic
#19104F #2A1A82 #3A24B5 #553ED9 #8271E3

Accessibility & contrast

On white

10.00
#3A24B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3A24B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A24B5
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A24B5#FFFFFF#000000##FFFFFF
##3A24B51.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B9
Deuteranopia (green-blind)
#003CB2
Tritanopia (blue-blind)
#00516D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3a24b5;
/* rgb */ color: rgb(58, 36, 181);
/* oklch */ color: oklch(40.3% 0.210 278.1);
Tailwind
colors: {
  custom: {
    50: '#8263cd',
    500: '#3a24b5',
    950: '#000000',
  },
}
SCSS
$custom: #3a24b5;
$custom-light: #8263cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a24b5",
  "rgb": {
    "r": 58,
    "g": 36,
    "b": 181
  },
  "hsl": {
    "h": 249.103,
    "s": 66.82,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40316,
    "c": 0.21025,
    "h": 278.1
  },
  "luminance": 0.05497
}

Semantic roles & 50–950 ramp

primary
#3A24B5
secondary
#BBC96B
accent
#EA3ED0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3A24B5

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

Preview Lab → · Contrast checker → · Palette generator →

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