#2823A8#2823A8

#2823A8 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.5% C 0.200 H 272.7°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#2823A8
RGBrgb(40, 35, 168)
HSLhsl(242, 66%, 40%)
HSVhsv(242, 79%, 66%)
CMYKcmyk(76.2%, 79.2%, 0%, 34.1%)
CIE-LABlab(25.20, 46.39, -69.10)
CIE-LCHlch(25.20, 83.23, 303.87°)
OKLaboklab(37.53% 0.0095 -0.2)
OKLCHoklch(37.53% 0.2 272.7)
XYZxyz(8.5416, 4.4794, 37.4526)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2823A8 #A3A823
analogous
#2360A8 #2823A8 #6B23A8
triadic
#2823A8 #A82823 #23A828
tetradic
#2823A8 #A82360 #A3A823 #23A86B
square
#2823A8 #A82360 #A3A823 #23A86B
split-complementary
#2823A8 #A86B23 #60A823
monochromatic
#100E43 #1C1875 #2823A8 #3A34D5 #6B66DF

Accessibility & contrast

On white

11.08
#2823A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2823A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2823A8#FFFFFF#000000##FFFFFF
##2823A81.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AC
Deuteranopia (green-blind)
#0035A6
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2823a8;
/* rgb */ color: rgb(40, 35, 168);
/* oklch */ color: oklch(37.5% 0.200 272.7);
Tailwind
colors: {
  custom: {
    50: '#7861c3',
    500: '#2823a8',
    950: '#000000',
  },
}
SCSS
$custom: #2823a8;
$custom-light: #7861c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2823a8",
  "rgb": {
    "r": 40,
    "g": 35,
    "b": 168
  },
  "hsl": {
    "h": 242.256,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.3753,
    "c": 0.2002,
    "h": 272.7
  },
  "luminance": 0.0448
}

Semantic roles & 50–950 ramp

primary
#2823A8
secondary
#C1C562
accent
#E83FE2
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2823A8

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

Preview Lab → · Contrast checker → · Palette generator →

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