#2823BC#2823BC

#2823BC is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.8% C 0.224 H 271.3°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#2823BC
RGBrgb(40, 35, 188)
HSLhsl(242, 69%, 44%)
HSVhsv(242, 81%, 74%)
CMYKcmyk(78.7%, 81.4%, 0%, 26.3%)
CIE-LABlab(27.53, 52.68, -77.20)
CIE-LCHlch(27.53, 93.47, 304.31°)
OKLaboklab(39.83% 0.005 -0.2234)
OKLCHoklch(39.83% 0.224 271.3)
XYZxyz(10.5501, 5.2828, 48.0309)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2823BC #B7BC23
analogous
#236ABC #2823BC #7423BC
triadic
#2823BC #BC2823 #23BC28
tetradic
#2823BC #BC236A #B7BC23 #23BC74
square
#2823BC #BC236A #B7BC23 #23BC74
split-complementary
#2823BC #BC7423 #6ABC23
monochromatic
#121055 #1D1988 #2823BC #4641DC #7874E5

Accessibility & contrast

On white

10.21
#2823BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2823BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2823BC
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2823BC#FFFFFF#000000##FFFFFF
##2823BC1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048C0
Deuteranopia (green-blind)
#0039B9
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2823bc;
/* rgb */ color: rgb(40, 35, 188);
/* oklch */ color: oklch(39.8% 0.224 271.3);
Tailwind
colors: {
  custom: {
    50: '#7d62d2',
    500: '#2823bc',
    950: '#000000',
  },
}
SCSS
$custom: #2823bc;
$custom-light: #7d62d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2823bc",
  "rgb": {
    "r": 40,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 241.961,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.39828,
    "c": 0.22351,
    "h": 271.3
  },
  "luminance": 0.05284
}

Semantic roles & 50–950 ramp

primary
#2823BC
secondary
#C9CC6F
accent
#EB3CE6
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2823BC

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

Preview Lab → · Contrast checker → · Palette generator →

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