#2836AE#2836AE

#2836AE is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.0% C 0.189 H 270.0°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#2836AE
RGBrgb(40, 54, 174)
HSLhsl(234, 63%, 42%)
HSVhsv(234, 77%, 68%)
CMYKcmyk(77%, 69%, 0%, 31.8%)
CIE-LABlab(29.77, 37.41, -65.15)
CIE-LCHlch(29.77, 75.13, 299.86°)
OKLaboklab(40.98% 0.0001 -0.1886)
OKLCHoklch(40.98% 0.189 270)
XYZxyz(9.8316, 6.1444, 40.7040)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2836AE #AEA028
analogous
#2879AE #2836AE #5D28AE
triadic
#2836AE #AE2836 #36AE28
tetradic
#2836AE #AE2879 #AEA028 #28AE5D
square
#2836AE #AE2879 #AEA028 #28AE5D
split-complementary
#2836AE #AE5D28 #79AE28
monochromatic
#11174A #1D277C #2836AE #404FD3 #727DDF

Accessibility & contrast

On white

9.42
#2836AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2836AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2836AE
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2836AE#FFFFFF#000000##FFFFFF
##2836AE1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2836ae;
/* rgb */ color: rgb(40, 54, 174);
/* oklch */ color: oklch(41.0% 0.189 270.0);
Tailwind
colors: {
  custom: {
    50: '#786dc7',
    500: '#2836ae',
    950: '#000000',
  },
}
SCSS
$custom: #2836ae;
$custom-light: #786dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2836ae",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 174
  },
  "hsl": {
    "h": 233.731,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40981,
    "c": 0.1886,
    "h": 270
  },
  "luminance": 0.06145
}

Semantic roles & 50–950 ramp

primary
#2836AE
secondary
#C6BC6C
accent
#D542E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2836AE

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

Preview Lab → · Contrast checker → · Palette generator →

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