#2823BD#2823BD

#2823BD is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.9% C 0.225 H 271.2°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#2823BD
RGBrgb(40, 35, 189)
HSLhsl(242, 69%, 44%)
HSVhsv(242, 81%, 74%)
CMYKcmyk(78.8%, 81.5%, 0%, 25.9%)
CIE-LABlab(27.64, 52.99, -77.60)
CIE-LCHlch(27.64, 93.97, 304.33°)
OKLaboklab(39.95% 0.0048 -0.2246)
OKLCHoklch(39.95% 0.225 271.2)
XYZxyz(10.6583, 5.3261, 48.6006)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2823BD #B8BD23
analogous
#236BBD #2823BD #7523BD
triadic
#2823BD #BD2823 #23BD28
tetradic
#2823BD #BD236B #B8BD23 #23BD75
square
#2823BD #BD236B #B8BD23 #23BD75
split-complementary
#2823BD #BD7523 #6BBD23
monochromatic
#121056 #1D1989 #2823BD #4641DC #7975E5

Accessibility & contrast

On white

10.17
#2823BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2823BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2823BD
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2823BD#FFFFFF#000000##FFFFFF
##2823BD1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049C1
Deuteranopia (green-blind)
#0039BA
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2823bd;
/* rgb */ color: rgb(40, 35, 189);
/* oklch */ color: oklch(39.9% 0.225 271.2);
Tailwind
colors: {
  custom: {
    50: '#7e62d2',
    500: '#2823bd',
    950: '#000000',
  },
}
SCSS
$custom: #2823bd;
$custom-light: #7e62d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2823bd",
  "rgb": {
    "r": 40,
    "g": 35,
    "b": 189
  },
  "hsl": {
    "h": 241.948,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.39945,
    "c": 0.22464,
    "h": 271.2
  },
  "luminance": 0.05327
}

Semantic roles & 50–950 ramp

primary
#2823BD
secondary
#CACD6F
accent
#EC3CE6
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2823BD

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

Preview Lab → · Contrast checker → · Palette generator →

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