#2823BB#2823BB

#2823BB is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.7% C 0.222 H 271.4°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#2823BB
RGBrgb(40, 35, 187)
HSLhsl(242, 68%, 44%)
HSVhsv(242, 81%, 73%)
CMYKcmyk(78.6%, 81.3%, 0%, 26.7%)
CIE-LABlab(27.41, 52.37, -76.81)
CIE-LCHlch(27.41, 92.96, 304.29°)
OKLaboklab(39.71% 0.0052 -0.2223)
OKLCHoklch(39.71% 0.222 271.4)
XYZxyz(10.4427, 5.2399, 47.4651)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2823BB #B6BB23
analogous
#236ABB #2823BB #7423BB
triadic
#2823BB #BB2823 #23BB28
tetradic
#2823BB #BB236A #B6BB23 #23BB74
square
#2823BB #BB236A #B6BB23 #23BB74
split-complementary
#2823BB #BB7423 #6ABB23
monochromatic
#121054 #1D1987 #2823BB #4540DB #7774E5

Accessibility & contrast

On white

10.25
#2823BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2823BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2823BB
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2823BB#FFFFFF#000000##FFFFFF
##2823BB1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048BF
Deuteranopia (green-blind)
#0039B8
Tritanopia (blue-blind)
#005370
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2823bb;
/* rgb */ color: rgb(40, 35, 187);
/* oklch */ color: oklch(39.7% 0.222 271.4);
Tailwind
colors: {
  custom: {
    50: '#7d62d1',
    500: '#2823bb',
    950: '#000000',
  },
}
SCSS
$custom: #2823bb;
$custom-light: #7d62d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2823bb",
  "rgb": {
    "r": 40,
    "g": 35,
    "b": 187
  },
  "hsl": {
    "h": 241.974,
    "s": 68.468,
    "l": 43.529
  },
  "oklch": {
    "l": 0.39712,
    "c": 0.22236,
    "h": 271.4
  },
  "luminance": 0.05241
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2823BB

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

Preview Lab → · Contrast checker → · Palette generator →

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