#2823AC#2823AC

#2823AC is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.0% C 0.205 H 272.4°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#2823AC
RGBrgb(40, 35, 172)
HSLhsl(242, 66%, 41%)
HSVhsv(242, 80%, 67%)
CMYKcmyk(76.7%, 79.7%, 0%, 32.5%)
CIE-LABlab(25.66, 47.67, -70.75)
CIE-LCHlch(25.66, 85.31, 303.97°)
OKLaboklab(37.99% 0.0086 -0.2048)
OKLCHoklch(37.99% 0.205 272.4)
XYZxyz(8.9200, 4.6308, 39.4454)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2823AC #A7AC23
analogous
#2362AC #2823AC #6C23AC
triadic
#2823AC #AC2823 #23AC28
tetradic
#2823AC #AC2362 #A7AC23 #23AC6C
square
#2823AC #AC2362 #A7AC23 #23AC6C
split-complementary
#2823AC #AC6C23 #62AC23
monochromatic
#100E46 #1C1979 #2823AC #3C36D6 #6D69E0

Accessibility & contrast

On white

10.90
#2823AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##2823AC#FFFFFF#000000##FFFFFF
##2823AC1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B0
Deuteranopia (green-blind)
#0036AA
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2823ac;
/* rgb */ color: rgb(40, 35, 172);
/* oklch */ color: oklch(38.0% 0.205 272.4);
Tailwind
colors: {
  custom: {
    50: '#7961c6',
    500: '#2823ac',
    950: '#000000',
  },
}
SCSS
$custom: #2823ac;
$custom-light: #7961c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2823ac",
  "rgb": {
    "r": 40,
    "g": 35,
    "b": 172
  },
  "hsl": {
    "h": 242.19,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.37985,
    "c": 0.20494,
    "h": 272.4
  },
  "luminance": 0.04632
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2823AC

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

Preview Lab → · Contrast checker → · Palette generator →

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