#2836B0#2836B0

#2836B0 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.2% C 0.191 H 270.0°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#2836B0
RGBrgb(40, 54, 176)
HSLhsl(234, 63%, 42%)
HSVhsv(234, 77%, 69%)
CMYKcmyk(77.3%, 69.3%, 0%, 31%)
CIE-LABlab(29.97, 38.12, -66.03)
CIE-LCHlch(29.97, 76.25, 300.00°)
OKLaboklab(41.18% -0.0001 -0.1911)
OKLCHoklch(41.18% 0.191 270)
XYZxyz(10.0280, 6.2229, 41.7385)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2836B0 #B0A228
analogous
#287AB0 #2836B0 #5E28B0
triadic
#2836B0 #B02836 #36B028
tetradic
#2836B0 #B0287A #B0A228 #28B05E
square
#2836B0 #B0287A #B0A228 #28B05E
split-complementary
#2836B0 #B05E28 #7AB028
monochromatic
#11174C #1D277E #2836B0 #4150D4 #737EDF

Accessibility & contrast

On white

9.35
#2836B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2836B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2836B0
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2836B0#FFFFFF#000000##FFFFFF
##2836B01.009.352.249.35
#FFFFFF9.351.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2836b0;
/* rgb */ color: rgb(40, 54, 176);
/* oklch */ color: oklch(41.2% 0.191 270.0);
Tailwind
colors: {
  custom: {
    50: '#796dc9',
    500: '#2836b0',
    950: '#000000',
  },
}
SCSS
$custom: #2836b0;
$custom-light: #796dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2836b0",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 176
  },
  "hsl": {
    "h": 233.824,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4118,
    "c": 0.19115,
    "h": 270
  },
  "luminance": 0.06224
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2836B0

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

Preview Lab → · Contrast checker → · Palette generator →

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