#2836A5#2836A5

#2836A5 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.1% C 0.177 H 270.3°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#2836A5
RGBrgb(40, 54, 165)
HSLhsl(233, 61%, 40%)
HSVhsv(233, 76%, 65%)
CMYKcmyk(75.8%, 67.3%, 0%, 35.3%)
CIE-LABlab(28.92, 34.16, -61.16)
CIE-LCHlch(28.92, 70.05, 299.18°)
OKLaboklab(40.1% 0.0009 -0.1769)
OKLCHoklch(40.1% 0.177 270.3)
XYZxyz(8.9834, 5.8051, 36.2371)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2836A5 #A59728
analogous
#2874A5 #2836A5 #5828A5
triadic
#2836A5 #A52836 #36A528
tetradic
#2836A5 #A52874 #A59728 #28A558
square
#2836A5 #A52874 #A59728 #28A558
split-complementary
#2836A5 #A55828 #74A528
monochromatic
#101642 #1C2674 #2836A5 #3B4BCF #6C78DB

Accessibility & contrast

On white

9.72
#2836A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2836A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2836A5
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2836A5#FFFFFF#000000##FFFFFF
##2836A51.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA8
Deuteranopia (green-blind)
#003EA3
Tritanopia (blue-blind)
#005469
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2836a5;
/* rgb */ color: rgb(40, 54, 165);
/* oklch */ color: oklch(40.1% 0.177 270.3);
Tailwind
colors: {
  custom: {
    50: '#766dc1',
    500: '#2836a5',
    950: '#000000',
  },
}
SCSS
$custom: #2836a5;
$custom-light: #766dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2836a5",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 165
  },
  "hsl": {
    "h": 233.28,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40096,
    "c": 0.17693,
    "h": 270.3
  },
  "luminance": 0.05806
}

Semantic roles & 50–950 ramp

primary
#2836A5
secondary
#C2B867
accent
#D244E4
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2836A5

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

Preview Lab → · Contrast checker → · Palette generator →

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