#2836AD#2836AD

#2836AD is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.9% C 0.187 H 270.1°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#2836AD
RGBrgb(40, 54, 173)
HSLhsl(234, 62%, 42%)
HSVhsv(234, 77%, 68%)
CMYKcmyk(76.9%, 68.8%, 0%, 32.2%)
CIE-LABlab(29.68, 37.05, -64.72)
CIE-LCHlch(29.68, 74.57, 299.79°)
OKLaboklab(40.88% 0.0002 -0.1873)
OKLCHoklch(40.88% 0.187 270.1)
XYZxyz(9.7345, 6.1055, 40.1925)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2836AD #AD9F28
analogous
#2879AD #2836AD #5D28AD
triadic
#2836AD #AD2836 #36AD28
tetradic
#2836AD #AD2879 #AD9F28 #28AD5D
square
#2836AD #AD2879 #AD9F28 #28AD5D
split-complementary
#2836AD #AD5D28 #79AD28
monochromatic
#11174A #1D267B #2836AD #3F4FD3 #717DDE

Accessibility & contrast

On white

9.45
#2836AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2836AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2836AD
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2836AD#FFFFFF#000000##FFFFFF
##2836AD1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB1
Deuteranopia (green-blind)
#0040AB
Tritanopia (blue-blind)
#00576D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2836ad;
/* rgb */ color: rgb(40, 54, 173);
/* oklch */ color: oklch(40.9% 0.187 270.1);
Tailwind
colors: {
  custom: {
    50: '#786dc7',
    500: '#2836ad',
    950: '#000000',
  },
}
SCSS
$custom: #2836ad;
$custom-light: #786dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2836ad",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 173
  },
  "hsl": {
    "h": 233.684,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40881,
    "c": 0.18731,
    "h": 270.1
  },
  "luminance": 0.06107
}

Semantic roles & 50–950 ramp

primary
#2836AD
secondary
#C5BC6C
accent
#D442E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2836AD

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

Preview Lab → · Contrast checker → · Palette generator →

#2836AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva