#3024A8#3024A8

#3024A8 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.2% C 0.197 H 275.6°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#3024A8
RGBrgb(48, 36, 168)
HSLhsl(245, 65%, 40%)
HSVhsv(245, 79%, 66%)
CMYKcmyk(71.4%, 78.6%, 0%, 34.1%)
CIE-LABlab(25.91, 46.53, -67.90)
CIE-LCHlch(25.91, 82.32, 304.42°)
OKLaboklab(38.17% 0.0194 -0.1963)
OKLCHoklch(38.17% 0.197 275.6)
XYZxyz(8.9154, 4.7164, 37.4787)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3024A8 #9CA824
analogous
#245AA8 #3024A8 #7224A8
triadic
#3024A8 #A83024 #24A830
tetradic
#3024A8 #A8245A #9CA824 #24A872
square
#3024A8 #A8245A #9CA824 #24A872
split-complementary
#3024A8 #A87224 #5AA824
monochromatic
#130E43 #221976 #3024A8 #4435D4 #7368DF

Accessibility & contrast

On white

10.81
#3024A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3024A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3024A8
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3024A8#FFFFFF#000000##FFFFFF
##3024A81.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AC
Deuteranopia (green-blind)
#0037A6
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3024a8;
/* rgb */ color: rgb(48, 36, 168);
/* oklch */ color: oklch(38.2% 0.197 275.6);
Tailwind
colors: {
  custom: {
    50: '#7b62c3',
    500: '#3024a8',
    950: '#000000',
  },
}
SCSS
$custom: #3024a8;
$custom-light: #7b62c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3024a8",
  "rgb": {
    "r": 48,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 245.455,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.38171,
    "c": 0.19728,
    "h": 275.6
  },
  "luminance": 0.04717
}

Semantic roles & 50–950 ramp

primary
#3024A8
secondary
#BCC463
accent
#E840D8
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3024A8

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

Preview Lab → · Contrast checker → · Palette generator →

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