#2823A7#2823A7

#2823A7 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.4% C 0.199 H 272.8°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#2823A7
RGBrgb(40, 35, 167)
HSLhsl(242, 65%, 40%)
HSVhsv(242, 79%, 65%)
CMYKcmyk(76%, 79%, 0%, 34.5%)
CIE-LABlab(25.08, 46.06, -68.69)
CIE-LCHlch(25.08, 82.70, 303.85°)
OKLaboklab(37.42% 0.0097 -0.1988)
OKLCHoklch(37.42% 0.199 272.8)
XYZxyz(8.4488, 4.4423, 36.9639)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2823A7 #A2A723
analogous
#2360A7 #2823A7 #6A23A7
triadic
#2823A7 #A72823 #23A728
tetradic
#2823A7 #A72360 #A2A723 #23A76A
square
#2823A7 #A72360 #A2A723 #23A76A
split-complementary
#2823A7 #A76A23 #60A723
monochromatic
#100E42 #1C1874 #2823A7 #3933D4 #6A66DF

Accessibility & contrast

On white

11.12
#2823A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2823A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2823A7
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2823A7#FFFFFF#000000##FFFFFF
##2823A71.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AB
Deuteranopia (green-blind)
#0035A5
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2823a7;
/* rgb */ color: rgb(40, 35, 167);
/* oklch */ color: oklch(37.4% 0.199 272.8);
Tailwind
colors: {
  custom: {
    50: '#7861c2',
    500: '#2823a7',
    950: '#000000',
  },
}
SCSS
$custom: #2823a7;
$custom-light: #7861c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2823a7",
  "rgb": {
    "r": 40,
    "g": 35,
    "b": 167
  },
  "hsl": {
    "h": 242.273,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37417,
    "c": 0.19901,
    "h": 272.8
  },
  "luminance": 0.04443
}

Semantic roles & 50–950 ramp

primary
#2823A7
secondary
#C1C461
accent
#E83FE2
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2823A7

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

Preview Lab → · Contrast checker → · Palette generator →

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