#3024A2#3024A2

#3024A2 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.5% C 0.190 H 276.3°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#3024A2
RGBrgb(48, 36, 162)
HSLhsl(246, 64%, 39%)
HSVhsv(246, 78%, 64%)
CMYKcmyk(70.4%, 77.8%, 0%, 36.5%)
CIE-LABlab(25.25, 44.63, -65.36)
CIE-LCHlch(25.25, 79.14, 304.33°)
OKLaboklab(37.52% 0.0209 -0.1889)
OKLCHoklch(37.52% 0.19 276.3)
XYZxyz(8.3693, 4.4980, 34.6026)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3024A2 #96A224
analogous
#2457A2 #3024A2 #6F24A2
triadic
#3024A2 #A23024 #24A230
tetradic
#3024A2 #A22457 #96A224 #24A26F
square
#3024A2 #A22457 #96A224 #24A26F
split-complementary
#3024A2 #A26F24 #57A224
monochromatic
#120E3E #211970 #3024A2 #4132D1 #6F64DD

Accessibility & contrast

On white

11.05
#3024A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3024A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3024A2
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3024A2#FFFFFF#000000##FFFFFF
##3024A21.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A6
Deuteranopia (green-blind)
#0036A0
Tritanopia (blue-blind)
#004962
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3024a2;
/* rgb */ color: rgb(48, 36, 162);
/* oklch */ color: oklch(37.5% 0.190 276.3);
Tailwind
colors: {
  custom: {
    50: '#7a62bf',
    500: '#3024a2',
    950: '#000000',
  },
}
SCSS
$custom: #3024a2;
$custom-light: #7a62bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3024a2",
  "rgb": {
    "r": 48,
    "g": 36,
    "b": 162
  },
  "hsl": {
    "h": 245.714,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37516,
    "c": 0.19006,
    "h": 276.3
  },
  "luminance": 0.04499
}

Semantic roles & 50–950 ramp

primary
#3024A2
secondary
#B9C260
accent
#E741D7
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3024A2

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

Preview Lab → · Contrast checker → · Palette generator →

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