#2823A4#2823A4

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

Color values

HEX#2823A4
RGBrgb(40, 35, 164)
HSLhsl(242, 65%, 39%)
HSVhsv(242, 79%, 64%)
CMYKcmyk(75.6%, 78.7%, 0%, 35.7%)
CIE-LABlab(24.74, 45.09, -67.43)
CIE-LCHlch(24.74, 81.12, 303.77°)
OKLaboklab(37.08% 0.0104 -0.1951)
OKLCHoklch(37.08% 0.195 273.1)
XYZxyz(8.1747, 4.3327, 35.5202)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2823A4 #9FA423
analogous
#235FA4 #2823A4 #6923A4
triadic
#2823A4 #A42823 #23A428
tetradic
#2823A4 #A4235F #9FA423 #23A469
square
#2823A4 #A4235F #9FA423 #23A469
split-complementary
#2823A4 #A46923 #5FA423
monochromatic
#0F0D3F #1C1872 #2823A4 #3731D3 #6864DE

Accessibility & contrast

On white

11.25
#2823A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2823A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2823A4
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2823A4#FFFFFF#000000##FFFFFF
##2823A41.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A8
Deuteranopia (green-blind)
#0034A2
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2823a4;
/* rgb */ color: rgb(40, 35, 164);
/* oklch */ color: oklch(37.1% 0.195 273.1);
Tailwind
colors: {
  custom: {
    50: '#7861c0',
    500: '#2823a4',
    950: '#000000',
  },
}
SCSS
$custom: #2823a4;
$custom-light: #7861c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2823a4",
  "rgb": {
    "r": 40,
    "g": 35,
    "b": 164
  },
  "hsl": {
    "h": 242.326,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37079,
    "c": 0.19541,
    "h": 273.1
  },
  "luminance": 0.04334
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2823A4

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

Preview Lab → · Contrast checker → · Palette generator →

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