#2823AA#2823AA

#2823AA is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 37.8% C 0.203 H 272.6°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#2823AA
RGBrgb(40, 35, 170)
HSLhsl(242, 66%, 40%)
HSVhsv(242, 79%, 67%)
CMYKcmyk(76.5%, 79.4%, 0%, 33.3%)
CIE-LABlab(25.43, 47.03, -69.93)
CIE-LCHlch(25.43, 84.27, 303.92°)
OKLaboklab(37.76% 0.0091 -0.2024)
OKLCHoklch(37.76% 0.203 272.6)
XYZxyz(8.7294, 4.5545, 38.4415)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2823AA #A5AA23
analogous
#2362AA #2823AA #6B23AA
triadic
#2823AA #AA2823 #23AA28
tetradic
#2823AA #AA2362 #A5AA23 #23AA6B
square
#2823AA #AA2362 #A5AA23 #23AA6B
split-complementary
#2823AA #AA6B23 #62AA23
monochromatic
#100E44 #1C1977 #2823AA #3B35D5 #6C68E0

Accessibility & contrast

On white

10.99
#2823AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2823AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2823AA
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2823AA#FFFFFF#000000##FFFFFF
##2823AA1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2823aa;
/* rgb */ color: rgb(40, 35, 170);
/* oklch */ color: oklch(37.8% 0.203 272.6);
Tailwind
colors: {
  custom: {
    50: '#7961c5',
    500: '#2823aa',
    950: '#000000',
  },
}
SCSS
$custom: #2823aa;
$custom-light: #7961c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2823aa",
  "rgb": {
    "r": 40,
    "g": 35,
    "b": 170
  },
  "hsl": {
    "h": 242.222,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.37757,
    "c": 0.20257,
    "h": 272.6
  },
  "luminance": 0.04555
}

Semantic roles & 50–950 ramp

primary
#2823AA
secondary
#C2C663
accent
#E93FE3
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2823AA

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

Preview Lab → · Contrast checker → · Palette generator →

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