#2823AD#2823AD

#2823AD is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.1% C 0.206 H 272.3°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#2823AD
RGBrgb(40, 35, 173)
HSLhsl(242, 66%, 41%)
HSVhsv(242, 80%, 68%)
CMYKcmyk(76.9%, 79.8%, 0%, 32.2%)
CIE-LABlab(25.77, 47.99, -71.16)
CIE-LCHlch(25.77, 85.83, 303.99°)
OKLaboklab(38.1% 0.0084 -0.2059)
OKLCHoklch(38.1% 0.206 272.3)
XYZxyz(9.0164, 4.6693, 39.9531)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2823AD #A8AD23
analogous
#2363AD #2823AD #6D23AD
triadic
#2823AD #AD2823 #23AD28
tetradic
#2823AD #AD2363 #A8AD23 #23AD6D
square
#2823AD #AD2363 #A8AD23 #23AD6D
split-complementary
#2823AD #AD6D23 #63AD23
monochromatic
#100E47 #1C197A #2823AD #3D37D6 #6E6AE1

Accessibility & contrast

On white

10.86
#2823AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2823AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2823AD#FFFFFF#000000##FFFFFF
##2823AD1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B1
Deuteranopia (green-blind)
#0036AB
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2823ad;
/* rgb */ color: rgb(40, 35, 173);
/* oklch */ color: oklch(38.1% 0.206 272.3);
Tailwind
colors: {
  custom: {
    50: '#7a61c7',
    500: '#2823ad',
    950: '#000000',
  },
}
SCSS
$custom: #2823ad;
$custom-light: #7a61c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2823ad",
  "rgb": {
    "r": 40,
    "g": 35,
    "b": 173
  },
  "hsl": {
    "h": 242.174,
    "s": 66.346,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38099,
    "c": 0.20612,
    "h": 272.3
  },
  "luminance": 0.0467
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2823AD

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

Preview Lab → · Contrast checker → · Palette generator →

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