#3024A4#3024A4

#3024A4 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.7% C 0.192 H 276.1°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#3024A4
RGBrgb(48, 36, 164)
HSLhsl(246, 64%, 39%)
HSVhsv(246, 78%, 64%)
CMYKcmyk(70.7%, 78%, 0%, 35.7%)
CIE-LABlab(25.47, 45.26, -66.21)
CIE-LCHlch(25.47, 80.20, 304.36°)
OKLaboklab(37.73% 0.0204 -0.1914)
OKLCHoklch(37.73% 0.192 276.1)
XYZxyz(8.5484, 4.5697, 35.5463)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3024A4 #98A424
analogous
#2458A4 #3024A4 #7024A4
triadic
#3024A4 #A43024 #24A430
tetradic
#3024A4 #A42458 #98A424 #24A470
square
#3024A4 #A42458 #98A424 #24A470
split-complementary
#3024A4 #A47024 #58A424
monochromatic
#130E40 #211972 #3024A4 #4233D2 #7065DD

Accessibility & contrast

On white

10.97
#3024A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#3024A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3024A4
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3024A4#FFFFFF#000000##FFFFFF
##3024A41.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A8
Deuteranopia (green-blind)
#0037A2
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3024a4;
/* rgb */ color: rgb(48, 36, 164);
/* oklch */ color: oklch(37.7% 0.192 276.1);
Tailwind
colors: {
  custom: {
    50: '#7a62c0',
    500: '#3024a4',
    950: '#000000',
  },
}
SCSS
$custom: #3024a4;
$custom-light: #7a62c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3024a4",
  "rgb": {
    "r": 48,
    "g": 36,
    "b": 164
  },
  "hsl": {
    "h": 245.625,
    "s": 64,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37733,
    "c": 0.19248,
    "h": 276.1
  },
  "luminance": 0.0457
}

Semantic roles & 50–950 ramp

primary
#3024A4
secondary
#BAC361
accent
#E741D7
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3024A4

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

Preview Lab → · Contrast checker → · Palette generator →

#3024A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva