#2024A8#2024A8

#2024A8 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.2% C 0.201 H 270.0°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#2024A8
RGBrgb(32, 36, 168)
HSLhsl(238, 68%, 39%)
HSVhsv(238, 81%, 66%)
CMYKcmyk(81%, 78.6%, 0%, 34.1%)
CIE-LABlab(24.94, 45.31, -69.55)
CIE-LCHlch(24.94, 83.00, 303.08°)
OKLaboklab(37.23% 0.0001 -0.2014)
OKLCHoklch(37.23% 0.201 270)
XYZxyz(8.2920, 4.3950, 37.4495)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2024A8 #A8A420
analogous
#2068A8 #2024A8 #6020A8
triadic
#2024A8 #A82024 #24A820
tetradic
#2024A8 #A82068 #A8A420 #20A860
square
#2024A8 #A82068 #A8A420 #20A860
split-complementary
#2024A8 #A86020 #68A820
monochromatic
#0C0E41 #161975 #2024A8 #2E33D7 #6165E1

Accessibility & contrast

On white

11.17
#2024A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2024A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2024A8
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2024A8#FFFFFF#000000##FFFFFF
##2024A81.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AC
Deuteranopia (green-blind)
#0034A6
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2024a8;
/* rgb */ color: rgb(32, 36, 168);
/* oklch */ color: oklch(37.2% 0.201 270.0);
Tailwind
colors: {
  custom: {
    50: '#7661c3',
    500: '#2024a8',
    950: '#000000',
  },
}
SCSS
$custom: #2024a8;
$custom-light: #7661c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2024a8",
  "rgb": {
    "r": 32,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 238.235,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37228,
    "c": 0.20143,
    "h": 270
  },
  "luminance": 0.04396
}

Semantic roles & 50–950 ramp

primary
#2024A8
secondary
#C6C35E
accent
#E63DEB
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #2024A8

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

Preview Lab → · Contrast checker → · Palette generator →

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