#2823AE#2823AE

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

Color values

HEX#2823AE
RGBrgb(40, 35, 174)
HSLhsl(242, 67%, 41%)
HSVhsv(242, 80%, 68%)
CMYKcmyk(77%, 79.9%, 0%, 31.8%)
CIE-LABlab(25.89, 48.30, -71.57)
CIE-LCHlch(25.89, 86.35, 304.02°)
OKLaboklab(38.21% 0.0082 -0.2071)
OKLCHoklch(38.21% 0.207 272.3)
XYZxyz(9.1135, 4.7082, 40.4647)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2823AE #A9AE23
analogous
#2363AE #2823AE #6D23AE
triadic
#2823AE #AE2823 #23AE28
tetradic
#2823AE #AE2363 #A9AE23 #23AE6D
square
#2823AE #AE2363 #A9AE23 #23AE6D
split-complementary
#2823AE #AE6D23 #63AE23
monochromatic
#110F48 #1C197B #2823AE #3D37D7 #6F6AE1

Accessibility & contrast

On white

10.81
#2823AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2823AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2823AE#FFFFFF#000000##FFFFFF
##2823AE1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B2
Deuteranopia (green-blind)
#0036AC
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2823ae;
/* rgb */ color: rgb(40, 35, 174);
/* oklch */ color: oklch(38.2% 0.207 272.3);
Tailwind
colors: {
  custom: {
    50: '#7a61c8',
    500: '#2823ae',
    950: '#000000',
  },
}
SCSS
$custom: #2823ae;
$custom-light: #7a61c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2823ae",
  "rgb": {
    "r": 40,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 242.158,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38213,
    "c": 0.2073,
    "h": 272.3
  },
  "luminance": 0.04709
}

Semantic roles & 50–950 ramp

primary
#2823AE
secondary
#C4C766
accent
#E93EE3
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2823AE

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

Preview Lab → · Contrast checker → · Palette generator →

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