#2823A6#2823A6

#2823A6 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.3% C 0.198 H 272.9°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#2823A6
RGBrgb(40, 35, 166)
HSLhsl(242, 65%, 39%)
HSVhsv(242, 79%, 65%)
CMYKcmyk(75.9%, 78.9%, 0%, 34.9%)
CIE-LABlab(24.97, 45.74, -68.27)
CIE-LCHlch(24.97, 82.18, 303.82°)
OKLaboklab(37.3% 0.01 -0.1976)
OKLCHoklch(37.3% 0.198 272.9)
XYZxyz(8.3567, 4.4055, 36.4789)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2823A6 #A1A623
analogous
#2360A6 #2823A6 #6A23A6
triadic
#2823A6 #A62823 #23A628
tetradic
#2823A6 #A62360 #A1A623 #23A66A
square
#2823A6 #A62360 #A1A623 #23A66A
split-complementary
#2823A6 #A66A23 #60A623
monochromatic
#100E41 #1C1873 #2823A6 #3932D4 #6A65DF

Accessibility & contrast

On white

11.16
#2823A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2823A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2823A6
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2823A6#FFFFFF#000000##FFFFFF
##2823A61.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AA
Deuteranopia (green-blind)
#0035A4
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2823a6;
/* rgb */ color: rgb(40, 35, 166);
/* oklch */ color: oklch(37.3% 0.198 272.9);
Tailwind
colors: {
  custom: {
    50: '#7861c2',
    500: '#2823a6',
    950: '#000000',
  },
}
SCSS
$custom: #2823a6;
$custom-light: #7861c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2823a6",
  "rgb": {
    "r": 40,
    "g": 35,
    "b": 166
  },
  "hsl": {
    "h": 242.29,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37304,
    "c": 0.19781,
    "h": 272.9
  },
  "luminance": 0.04406
}

Semantic roles & 50–950 ramp

primary
#2823A6
secondary
#C0C461
accent
#E840E2
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2823A6

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

Preview Lab → · Contrast checker → · Palette generator →

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