#2823C5#2823C5

#2823C5 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.9% C 0.234 H 270.7°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#2823C5
RGBrgb(40, 35, 197)
HSLhsl(242, 70%, 45%)
HSVhsv(242, 82%, 77%)
CMYKcmyk(79.7%, 82.2%, 0%, 22.7%)
CIE-LABlab(28.60, 55.43, -80.73)
CIE-LCHlch(28.60, 97.93, 304.47°)
OKLaboklab(40.88% 0.003 -0.2337)
OKLCHoklch(40.88% 0.234 270.7)
XYZxyz(11.5507, 5.6831, 53.3007)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2823C5 #C0C523
analogous
#236FC5 #2823C5 #7923C5
triadic
#2823C5 #C52823 #23C528
tetradic
#2823C5 #C5236F #C0C523 #23C579
square
#2823C5 #C5236F #C0C523 #23C579
split-complementary
#2823C5 #C57923 #6FC523
monochromatic
#13115D #1D1A91 #2823C5 #4C47DE #7E7BE8

Accessibility & contrast

On white

9.83
#2823C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2823C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2823C5
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2823C5#FFFFFF#000000##FFFFFF
##2823C51.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC9
Deuteranopia (green-blind)
#003BC2
Tritanopia (blue-blind)
#005776
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2823c5;
/* rgb */ color: rgb(40, 35, 197);
/* oklch */ color: oklch(40.9% 0.234 270.7);
Tailwind
colors: {
  custom: {
    50: '#8063d8',
    500: '#2823c5',
    950: '#000000',
  },
}
SCSS
$custom: #2823c5;
$custom-light: #8063d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2823c5",
  "rgb": {
    "r": 40,
    "g": 35,
    "b": 197
  },
  "hsl": {
    "h": 241.852,
    "s": 69.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4088,
    "c": 0.23368,
    "h": 270.7
  },
  "luminance": 0.05684
}

Semantic roles & 50–950 ramp

primary
#2823C5
secondary
#CDCF74
accent
#ED3BE7
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2823C5

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

Preview Lab → · Contrast checker → · Palette generator →

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