#2836A3#2836A3

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

Color values

HEX#2836A3
RGBrgb(40, 54, 163)
HSLhsl(233, 61%, 40%)
HSVhsv(233, 75%, 64%)
CMYKcmyk(75.5%, 66.9%, 0%, 36.1%)
CIE-LABlab(28.73, 33.43, -60.26)
CIE-LCHlch(28.73, 68.91, 299.02°)
OKLaboklab(39.9% 0.0011 -0.1743)
OKLCHoklch(39.9% 0.174 270.4)
XYZxyz(8.8028, 5.7329, 35.2859)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2836A3 #A39528
analogous
#2873A3 #2836A3 #5828A3
triadic
#2836A3 #A32836 #36A328
tetradic
#2836A3 #A32873 #A39528 #28A358
square
#2836A3 #A32873 #A39528 #28A358
split-complementary
#2836A3 #A35828 #73A328
monochromatic
#101541 #1C2672 #2836A3 #3A4BCF #6B78DB

Accessibility & contrast

On white

9.78
#2836A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2836A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2836A3
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2836A3#FFFFFF#000000##FFFFFF
##2836A31.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA6
Deuteranopia (green-blind)
#003EA1
Tritanopia (blue-blind)
#005367
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2836a3;
/* rgb */ color: rgb(40, 54, 163);
/* oklch */ color: oklch(39.9% 0.174 270.4);
Tailwind
colors: {
  custom: {
    50: '#756dbf',
    500: '#2836a3',
    950: '#000000',
  },
}
SCSS
$custom: #2836a3;
$custom-light: #756dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2836a3",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 163
  },
  "hsl": {
    "h": 233.171,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39902,
    "c": 0.17429,
    "h": 270.4
  },
  "luminance": 0.05734
}

Semantic roles & 50–950 ramp

primary
#2836A3
secondary
#C1B766
accent
#D244E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2836A3

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

Preview Lab → · Contrast checker → · Palette generator →

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