#2836B1#2836B1

#2836B1 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.3% C 0.192 H 269.9°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#2836B1
RGBrgb(40, 54, 177)
HSLhsl(234, 63%, 43%)
HSVhsv(234, 77%, 69%)
CMYKcmyk(77.4%, 69.5%, 0%, 30.6%)
CIE-LABlab(30.07, 38.48, -66.47)
CIE-LCHlch(30.07, 76.80, 300.07°)
OKLaboklab(41.28% -0.0002 -0.1924)
OKLCHoklch(41.28% 0.192 269.9)
XYZxyz(10.1273, 6.2627, 42.2615)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2836B1 #B1A328
analogous
#287AB1 #2836B1 #5F28B1
triadic
#2836B1 #B12836 #36B128
tetradic
#2836B1 #B1287A #B1A328 #28B15F
square
#2836B1 #B1287A #B1A328 #28B15F
split-complementary
#2836B1 #B15F28 #7AB128
monochromatic
#11184D #1D277F #2836B1 #4251D4 #747FE0

Accessibility & contrast

On white

9.32
#2836B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2836B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2836B1
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2836B1#FFFFFF#000000##FFFFFF
##2836B11.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#0040AF
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2836b1;
/* rgb */ color: rgb(40, 54, 177);
/* oklch */ color: oklch(41.3% 0.192 269.9);
Tailwind
colors: {
  custom: {
    50: '#796dc9',
    500: '#2836b1',
    950: '#000000',
  },
}
SCSS
$custom: #2836b1;
$custom-light: #796dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2836b1",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 177
  },
  "hsl": {
    "h": 233.869,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4128,
    "c": 0.19242,
    "h": 269.9
  },
  "luminance": 0.06264
}

Semantic roles & 50–950 ramp

primary
#2836B1
secondary
#C7BE6E
accent
#D542E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2836B1

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

Preview Lab → · Contrast checker → · Palette generator →

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