#3A24B4#3A24B4

#3A24B4 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.2% C 0.209 H 278.3°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#3A24B4
RGBrgb(58, 36, 180)
HSLhsl(249, 67%, 42%)
HSVhsv(249, 80%, 71%)
CMYKcmyk(67.8%, 80%, 0%, 29.4%)
CIE-LABlab(28.00, 51.12, -71.63)
CIE-LCHlch(28.00, 88.00, 305.51°)
OKLaboklab(40.21% 0.0301 -0.2069)
OKLCHoklch(40.21% 0.209 278.3)
XYZxyz(10.6114, 5.4557, 43.6650)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A24B4 #9EB424
analogous
#2456B4 #3A24B4 #8224B4
triadic
#3A24B4 #B43A24 #24B43A
tetradic
#3A24B4 #B42456 #9EB424 #24B482
square
#3A24B4 #B42456 #9EB424 #24B482
split-complementary
#3A24B4 #B48224 #56B424
monochromatic
#19104E #2A1A81 #3A24B4 #553DD8 #8170E2

Accessibility & contrast

On white

10.04
#3A24B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3A24B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A24B4
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A24B4#FFFFFF#000000##FFFFFF
##3A24B41.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B8
Deuteranopia (green-blind)
#003CB2
Tritanopia (blue-blind)
#00506C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3a24b4;
/* rgb */ color: rgb(58, 36, 180);
/* oklch */ color: oklch(40.2% 0.209 278.3);
Tailwind
colors: {
  custom: {
    50: '#8263cc',
    500: '#3a24b4',
    950: '#000000',
  },
}
SCSS
$custom: #3a24b4;
$custom-light: #8263cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a24b4",
  "rgb": {
    "r": 58,
    "g": 36,
    "b": 180
  },
  "hsl": {
    "h": 249.167,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40208,
    "c": 0.20909,
    "h": 278.3
  },
  "luminance": 0.05457
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A24B4

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

Preview Lab → · Contrast checker → · Palette generator →

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