#2824AA#2824AA

#2824AA is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 37.9% C 0.202 H 272.5°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#2824AA
RGBrgb(40, 36, 170)
HSLhsl(242, 65%, 40%)
HSVhsv(242, 79%, 67%)
CMYKcmyk(76.5%, 78.8%, 0%, 33.3%)
CIE-LABlab(25.61, 46.51, -69.63)
CIE-LCHlch(25.61, 83.74, 303.74°)
OKLaboklab(37.88% 0.0087 -0.2015)
OKLCHoklch(37.88% 0.202 272.5)
XYZxyz(8.7592, 4.6142, 38.4514)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2824AA #A6AA24
analogous
#2463AA #2824AA #6B24AA
triadic
#2824AA #AA2824 #24AA28
tetradic
#2824AA #AA2463 #A6AA24 #24AA6B
square
#2824AA #AA2463 #A6AA24 #24AA6B
split-complementary
#2824AA #AA6B24 #63AA24
monochromatic
#100F45 #1C1977 #2824AA #3B37D5 #6D69DF

Accessibility & contrast

On white

10.92
#2824AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2824AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2824AA#FFFFFF#000000##FFFFFF
##2824AA1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AE
Deuteranopia (green-blind)
#0036A8
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2824aa;
/* rgb */ color: rgb(40, 36, 170);
/* oklch */ color: oklch(37.9% 0.202 272.5);
Tailwind
colors: {
  custom: {
    50: '#7962c5',
    500: '#2824aa',
    950: '#000000',
  },
}
SCSS
$custom: #2824aa;
$custom-light: #7962c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2824aa",
  "rgb": {
    "r": 40,
    "g": 36,
    "b": 170
  },
  "hsl": {
    "h": 241.791,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.37883,
    "c": 0.20171,
    "h": 272.5
  },
  "luminance": 0.04615
}

Semantic roles & 50–950 ramp

primary
#2824AA
secondary
#C2C565
accent
#E840E3
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2824AA

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

Preview Lab → · Contrast checker → · Palette generator →

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