#2823A3#2823A3

#2823A3 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.0% C 0.194 H 273.1°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#2823A3
RGBrgb(40, 35, 163)
HSLhsl(242, 65%, 39%)
HSVhsv(242, 79%, 64%)
CMYKcmyk(75.5%, 78.5%, 0%, 36.1%)
CIE-LABlab(24.63, 44.77, -67.01)
CIE-LCHlch(24.63, 80.59, 303.74°)
OKLaboklab(36.97% 0.0106 -0.1939)
OKLCHoklch(36.97% 0.194 273.1)
XYZxyz(8.0848, 4.2967, 35.0465)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2823A3 #9EA323
analogous
#235EA3 #2823A3 #6823A3
triadic
#2823A3 #A32823 #23A328
tetradic
#2823A3 #A3235E #9EA323 #23A368
square
#2823A3 #A3235E #9EA323 #23A368
split-complementary
#2823A3 #A36823 #5EA323
monochromatic
#0F0D3E #1C1871 #2823A3 #3731D3 #6863DD

Accessibility & contrast

On white

11.29
#2823A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2823A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2823A3
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2823A3#FFFFFF#000000##FFFFFF
##2823A31.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A7
Deuteranopia (green-blind)
#0034A1
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2823a3;
/* rgb */ color: rgb(40, 35, 163);
/* oklch */ color: oklch(37.0% 0.194 273.1);
Tailwind
colors: {
  custom: {
    50: '#7761c0',
    500: '#2823a3',
    950: '#000000',
  },
}
SCSS
$custom: #2823a3;
$custom-light: #7761c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2823a3",
  "rgb": {
    "r": 40,
    "g": 35,
    "b": 163
  },
  "hsl": {
    "h": 242.344,
    "s": 64.646,
    "l": 38.824
  },
  "oklch": {
    "l": 0.36966,
    "c": 0.1942,
    "h": 273.1
  },
  "luminance": 0.04298
}

Semantic roles & 50–950 ramp

primary
#2823A3
secondary
#BFC35F
accent
#E840E1
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2823A3

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

Preview Lab → · Contrast checker → · Palette generator →

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