#2823A0#2823A0

#2823A0 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.6% C 0.191 H 273.4°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#2823A0
RGBrgb(40, 35, 160)
HSLhsl(242, 64%, 38%)
HSVhsv(242, 78%, 63%)
CMYKcmyk(75%, 78.1%, 0%, 37.3%)
CIE-LABlab(24.29, 43.79, -65.75)
CIE-LCHlch(24.29, 79.00, 303.66°)
OKLaboklab(36.63% 0.0113 -0.1902)
OKLCHoklch(36.63% 0.191 273.4)
XYZxyz(7.8191, 4.1904, 33.6476)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2823A0 #9BA023
analogous
#235CA0 #2823A0 #6623A0
triadic
#2823A0 #A02823 #23A028
tetradic
#2823A0 #A0235C #9BA023 #23A066
square
#2823A0 #A0235C #9BA023 #23A066
split-complementary
#2823A0 #A06623 #5CA023
monochromatic
#0F0D3C #1B186E #2823A0 #352FD1 #6661DC

Accessibility & contrast

On white

11.42
#2823A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2823A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2823A0
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2823A0#FFFFFF#000000##FFFFFF
##2823A01.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#00349E
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2823a0;
/* rgb */ color: rgb(40, 35, 160);
/* oklch */ color: oklch(36.6% 0.191 273.4);
Tailwind
colors: {
  custom: {
    50: '#7760bd',
    500: '#2823a0',
    950: '#000000',
  },
}
SCSS
$custom: #2823a0;
$custom-light: #7760bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2823a0",
  "rgb": {
    "r": 40,
    "g": 35,
    "b": 160
  },
  "hsl": {
    "h": 242.4,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.3663,
    "c": 0.19056,
    "h": 273.4
  },
  "luminance": 0.04191
}

Semantic roles & 50–950 ramp

primary
#2823A0
secondary
#BDC15D
accent
#E741E0
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2823A0

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

Preview Lab → · Contrast checker → · Palette generator →

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