#2024A7#2024A7

#2024A7 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.1% C 0.200 H 270.1°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#2024A7
RGBrgb(32, 36, 167)
HSLhsl(238, 68%, 39%)
HSVhsv(238, 81%, 65%)
CMYKcmyk(80.8%, 78.4%, 0%, 34.5%)
CIE-LABlab(24.82, 44.97, -69.13)
CIE-LCHlch(24.82, 82.48, 303.04°)
OKLaboklab(37.11% 0.0003 -0.2002)
OKLCHoklch(37.11% 0.2 270.1)
XYZxyz(8.1992, 4.3579, 36.9608)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2024A7 #A7A320
analogous
#2068A7 #2024A7 #6020A7
triadic
#2024A7 #A72024 #24A720
tetradic
#2024A7 #A72068 #A7A320 #20A760
square
#2024A7 #A72068 #A7A320 #20A760
split-complementary
#2024A7 #A76020 #68A720
monochromatic
#0C0E40 #161974 #2024A7 #2D32D7 #6165E1

Accessibility & contrast

On white

11.22
#2024A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2024A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2024A7
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2024A7#FFFFFF#000000##FFFFFF
##2024A71.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2024a7;
/* rgb */ color: rgb(32, 36, 167);
/* oklch */ color: oklch(37.1% 0.200 270.1);
Tailwind
colors: {
  custom: {
    50: '#7661c3',
    500: '#2024a7',
    950: '#000000',
  },
}
SCSS
$custom: #2024a7;
$custom-light: #7661c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2024a7",
  "rgb": {
    "r": 32,
    "g": 36,
    "b": 167
  },
  "hsl": {
    "h": 238.222,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37113,
    "c": 0.20023,
    "h": 270.1
  },
  "luminance": 0.04359
}

Semantic roles & 50–950 ramp

primary
#2024A7
secondary
#C5C25D
accent
#E63DEB
background
#F7F5FC
surface
#EEEAF8
border
#C9C6D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #2024A7

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

Preview Lab → · Contrast checker → · Palette generator →

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