#2836AB#2836AB

#2836AB is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.7% C 0.185 H 270.1°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#2836AB
RGBrgb(40, 54, 171)
HSLhsl(234, 62%, 41%)
HSVhsv(234, 77%, 67%)
CMYKcmyk(76.6%, 68.4%, 0%, 32.9%)
CIE-LABlab(29.48, 36.33, -63.83)
CIE-LCHlch(29.48, 73.45, 299.65°)
OKLaboklab(40.68% 0.0004 -0.1847)
OKLCHoklch(40.68% 0.185 270.1)
XYZxyz(9.5424, 6.0287, 39.1809)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2836AB #AB9D28
analogous
#2878AB #2836AB #5C28AB
triadic
#2836AB #AB2836 #36AB28
tetradic
#2836AB #AB2878 #AB9D28 #28AB5C
square
#2836AB #AB2878 #AB9D28 #28AB5C
split-complementary
#2836AB #AB5C28 #78AB28
monochromatic
#111748 #1C2679 #2836AB #3E4ED2 #707CDE

Accessibility & contrast

On white

9.52
#2836AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2836AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2836AB
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2836AB#FFFFFF#000000##FFFFFF
##2836AB1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAF
Deuteranopia (green-blind)
#003FA9
Tritanopia (blue-blind)
#00566C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2836ab;
/* rgb */ color: rgb(40, 54, 171);
/* oklch */ color: oklch(40.7% 0.185 270.1);
Tailwind
colors: {
  custom: {
    50: '#776dc5',
    500: '#2836ab',
    950: '#000000',
  },
}
SCSS
$custom: #2836ab;
$custom-light: #776dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2836ab",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 171
  },
  "hsl": {
    "h": 233.588,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40683,
    "c": 0.18474,
    "h": 270.1
  },
  "luminance": 0.0603
}

Semantic roles & 50–950 ramp

primary
#2836AB
secondary
#C4BB6A
accent
#D443E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2836AB

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

Preview Lab → · Contrast checker → · Palette generator →

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