#2836A8#2836A8

#2836A8 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.4% C 0.181 H 270.2°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#2836A8
RGBrgb(40, 54, 168)
HSLhsl(233, 62%, 41%)
HSVhsv(233, 76%, 66%)
CMYKcmyk(76.2%, 67.9%, 0%, 34.1%)
CIE-LABlab(29.20, 35.25, -62.50)
CIE-LCHlch(29.20, 71.75, 299.42°)
OKLaboklab(40.39% 0.0007 -0.1808)
OKLCHoklch(40.39% 0.181 270.2)
XYZxyz(9.2597, 5.9156, 37.6920)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2836A8 #A89A28
analogous
#2876A8 #2836A8 #5A28A8
triadic
#2836A8 #A82836 #36A828
tetradic
#2836A8 #A82876 #A89A28 #28A85A
square
#2836A8 #A82876 #A89A28 #28A85A
split-complementary
#2836A8 #A85A28 #76A828
monochromatic
#101645 #1C2677 #2836A8 #3D4DD1 #6E7ADC

Accessibility & contrast

On white

9.62
#2836A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2836A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2836A8
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2836A8#FFFFFF#000000##FFFFFF
##2836A81.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#003FA6
Tritanopia (blue-blind)
#00556A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2836a8;
/* rgb */ color: rgb(40, 54, 168);
/* oklch */ color: oklch(40.4% 0.181 270.2);
Tailwind
colors: {
  custom: {
    50: '#776dc3',
    500: '#2836a8',
    950: '#000000',
  },
}
SCSS
$custom: #2836a8;
$custom-light: #776dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2836a8",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 168
  },
  "hsl": {
    "h": 233.438,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40389,
    "c": 0.18085,
    "h": 270.2
  },
  "luminance": 0.05917
}

Semantic roles & 50–950 ramp

primary
#2836A8
secondary
#C3B969
accent
#D343E5
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2836A8

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

Preview Lab → · Contrast checker → · Palette generator →

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