#2823C1#2823C1

#2823C1 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.4% C 0.229 H 271.0°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#2823C1
RGBrgb(40, 35, 193)
HSLhsl(242, 69%, 45%)
HSVhsv(242, 82%, 76%)
CMYKcmyk(79.3%, 81.9%, 0%, 24.3%)
CIE-LABlab(28.12, 54.21, -79.17)
CIE-LCHlch(28.12, 95.95, 304.40°)
OKLaboklab(40.41% 0.0039 -0.2291)
OKLCHoklch(40.41% 0.229 271)
XYZxyz(11.0985, 5.5022, 50.9188)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2823C1 #BCC123
analogous
#236DC1 #2823C1 #7723C1
triadic
#2823C1 #C12823 #23C128
tetradic
#2823C1 #C1236D #BCC123 #23C177
square
#2823C1 #C1236D #BCC123 #23C177
split-complementary
#2823C1 #C17723 #6DC123
monochromatic
#131059 #1D1A8D #2823C1 #4944DD #7B78E6

Accessibility & contrast

On white

10.00
#2823C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2823C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2823C1#FFFFFF#000000##FFFFFF
##2823C11.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC5
Deuteranopia (green-blind)
#003ABE
Tritanopia (blue-blind)
#005674
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2823c1;
/* rgb */ color: rgb(40, 35, 193);
/* oklch */ color: oklch(40.4% 0.229 271.0);
Tailwind
colors: {
  custom: {
    50: '#7f63d5',
    500: '#2823c1',
    950: '#000000',
  },
}
SCSS
$custom: #2823c1;
$custom-light: #7f63d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2823c1",
  "rgb": {
    "r": 40,
    "g": 35,
    "b": 193
  },
  "hsl": {
    "h": 241.899,
    "s": 69.298,
    "l": 44.706
  },
  "oklch": {
    "l": 0.40411,
    "c": 0.22918,
    "h": 271
  },
  "luminance": 0.05503
}

Semantic roles & 50–950 ramp

primary
#2823C1
secondary
#CBCE72
accent
#EC3CE7
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2823C1

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

Preview Lab → · Contrast checker → · Palette generator →

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