#2836A2#2836A2

#2836A2 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.8% C 0.173 H 270.4°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#2836A2
RGBrgb(40, 54, 162)
HSLhsl(233, 60%, 40%)
HSVhsv(233, 75%, 64%)
CMYKcmyk(75.3%, 66.7%, 0%, 36.5%)
CIE-LABlab(28.64, 33.06, -59.81)
CIE-LCHlch(28.64, 68.33, 298.93°)
OKLaboklab(39.81% 0.0012 -0.173)
OKLCHoklch(39.81% 0.173 270.4)
XYZxyz(8.7136, 5.6972, 34.8158)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2836A2 #A29428
analogous
#2873A2 #2836A2 #5728A2
triadic
#2836A2 #A22836 #36A228
tetradic
#2836A2 #A22873 #A29428 #28A257
square
#2836A2 #A22873 #A29428 #28A257
split-complementary
#2836A2 #A25728 #73A228
monochromatic
#101540 #1C2671 #2836A2 #394ACE #6A77DA

Accessibility & contrast

On white

9.81
#2836A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2836A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2836A2
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2836A2#FFFFFF#000000##FFFFFF
##2836A21.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#003EA0
Tritanopia (blue-blind)
#005367
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2836a2;
/* rgb */ color: rgb(40, 54, 162);
/* oklch */ color: oklch(39.8% 0.173 270.4);
Tailwind
colors: {
  custom: {
    50: '#756dbf',
    500: '#2836a2',
    950: '#000000',
  },
}
SCSS
$custom: #2836a2;
$custom-light: #756dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2836a2",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 162
  },
  "hsl": {
    "h": 233.115,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39806,
    "c": 0.17297,
    "h": 270.4
  },
  "luminance": 0.05698
}

Semantic roles & 50–950 ramp

primary
#2836A2
secondary
#C1B665
accent
#D144E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2836A2

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

Preview Lab → · Contrast checker → · Palette generator →

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