#2824A2#2824A2

#2824A2 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.0% C 0.192 H 273.1°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#2824A2
RGBrgb(40, 36, 162)
HSLhsl(242, 64%, 39%)
HSVhsv(242, 78%, 64%)
CMYKcmyk(75.3%, 77.8%, 0%, 36.5%)
CIE-LABlab(24.70, 43.90, -66.28)
CIE-LCHlch(24.70, 79.50, 303.52°)
OKLaboklab(36.99% 0.0104 -0.1918)
OKLCHoklch(36.99% 0.192 273.1)
XYZxyz(8.0254, 4.3207, 34.5864)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2824A2 #9EA224
analogous
#245FA2 #2824A2 #6724A2
triadic
#2824A2 #A22824 #24A228
tetradic
#2824A2 #A2245F #9EA224 #24A267
square
#2824A2 #A2245F #9EA224 #24A267
split-complementary
#2824A2 #A26724 #5FA224
monochromatic
#0F0E3E #1C1970 #2824A2 #3732D1 #6864DD

Accessibility & contrast

On white

11.26
#2824A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2824A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2824A2
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2824A2#FFFFFF#000000##FFFFFF
##2824A21.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A6
Deuteranopia (green-blind)
#0034A0
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2824a2;
/* rgb */ color: rgb(40, 36, 162);
/* oklch */ color: oklch(37.0% 0.192 273.1);
Tailwind
colors: {
  custom: {
    50: '#7761bf',
    500: '#2824a2',
    950: '#000000',
  },
}
SCSS
$custom: #2824a2;
$custom-light: #7761bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2824a2",
  "rgb": {
    "r": 40,
    "g": 36,
    "b": 162
  },
  "hsl": {
    "h": 241.905,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.36986,
    "c": 0.19208,
    "h": 273.1
  },
  "luminance": 0.04322
}

Semantic roles & 50–950 ramp

primary
#2824A2
secondary
#BFC260
accent
#E741E1
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2824A2

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

Preview Lab → · Contrast checker → · Palette generator →

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