#2C36AB#2C36AB

#2C36AB is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.9% C 0.184 H 271.4°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#2C36AB
RGBrgb(44, 54, 171)
HSLhsl(235, 59%, 42%)
HSVhsv(235, 74%, 67%)
CMYKcmyk(74.3%, 68.4%, 0%, 32.9%)
CIE-LABlab(29.70, 36.74, -63.48)
CIE-LCHlch(29.70, 73.34, 300.06°)
OKLaboklab(40.89% 0.0046 -0.1836)
OKLCHoklch(40.89% 0.184 271.4)
XYZxyz(9.7061, 6.1131, 39.1886)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C36AB #ABA12C
analogous
#2C75AB #2C36AB #622CAB
triadic
#2C36AB #AB2C36 #36AB2C
tetradic
#2C36AB #AB2C75 #ABA12C #2CAB62
square
#2C36AB #AB2C75 #ABA12C #2CAB62
split-complementary
#2C36AB #AB622C #75AB2C
monochromatic
#13174A #1F277A #2C36AB #4550CF #767EDC

Accessibility & contrast

On white

9.45
#2C36AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2C36AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C36AB
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C36AB#FFFFFF#000000##FFFFFF
##2C36AB1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAF
Deuteranopia (green-blind)
#0040A9
Tritanopia (blue-blind)
#00566C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c36ab;
/* rgb */ color: rgb(44, 54, 171);
/* oklch */ color: oklch(40.9% 0.184 271.4);
Tailwind
colors: {
  custom: {
    50: '#796dc5',
    500: '#2c36ab',
    950: '#000000',
  },
}
SCSS
$custom: #2c36ab;
$custom-light: #796dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c36ab",
  "rgb": {
    "r": 44,
    "g": 54,
    "b": 171
  },
  "hsl": {
    "h": 235.276,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40894,
    "c": 0.18367,
    "h": 271.4
  },
  "luminance": 0.06114
}

Semantic roles & 50–950 ramp

primary
#2C36AB
secondary
#C3BD6F
accent
#D646E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2C36AB

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

Preview Lab → · Contrast checker → · Palette generator →

#2C36AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva