#2823B0#2823B0

#2823B0 is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.4% C 0.210 H 272.1°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#2823B0
RGBrgb(40, 35, 176)
HSLhsl(242, 67%, 41%)
HSVhsv(242, 80%, 69%)
CMYKcmyk(77.3%, 80.1%, 0%, 31%)
CIE-LABlab(26.12, 48.94, -72.39)
CIE-LCHlch(26.12, 87.38, 304.06°)
OKLaboklab(38.44% 0.0077 -0.2095)
OKLCHoklch(38.44% 0.21 272.1)
XYZxyz(9.3099, 4.7868, 41.4992)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2823B0 #ABB023
analogous
#2365B0 #2823B0 #6F23B0
triadic
#2823B0 #B02823 #23B028
tetradic
#2823B0 #B02365 #ABB023 #23B06F
square
#2823B0 #B02365 #ABB023 #23B06F
split-complementary
#2823B0 #B06F23 #65B023
monochromatic
#110F4A #1C197D #2823B0 #3E39D8 #706CE2

Accessibility & contrast

On white

10.73
#2823B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2823B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2823B0
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2823B0#FFFFFF#000000##FFFFFF
##2823B01.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B4
Deuteranopia (green-blind)
#0037AE
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2823b0;
/* rgb */ color: rgb(40, 35, 176);
/* oklch */ color: oklch(38.4% 0.210 272.1);
Tailwind
colors: {
  custom: {
    50: '#7a61c9',
    500: '#2823b0',
    950: '#000000',
  },
}
SCSS
$custom: #2823b0;
$custom-light: #7a61c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2823b0",
  "rgb": {
    "r": 40,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 242.128,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38442,
    "c": 0.20964,
    "h": 272.1
  },
  "luminance": 0.04788
}

Semantic roles & 50–950 ramp

primary
#2823B0
secondary
#C4C867
accent
#EA3EE4
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2823B0

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

Preview Lab → · Contrast checker → · Palette generator →

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