#2C36A4#2C36A4

#2C36A4 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.2% C 0.175 H 271.7°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#2C36A4
RGBrgb(44, 54, 164)
HSLhsl(235, 58%, 41%)
HSVhsv(235, 73%, 64%)
CMYKcmyk(73.2%, 67.1%, 0%, 35.7%)
CIE-LABlab(29.04, 34.24, -60.34)
CIE-LCHlch(29.04, 69.38, 299.57°)
OKLaboklab(40.22% 0.0052 -0.1744)
OKLCHoklch(40.22% 0.175 271.7)
XYZxyz(9.0564, 5.8532, 35.7673)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C36A4 #A49A2C
analogous
#2C72A4 #2C36A4 #5E2CA4
triadic
#2C36A4 #A42C36 #36A42C
tetradic
#2C36A4 #A42C72 #A49A2C #2CA45E
square
#2C36A4 #A42C72 #A49A2C #2CA45E
split-complementary
#2C36A4 #A45E2C #72A42C
monochromatic
#121643 #1F2674 #2C36A4 #414DCC #717AD9

Accessibility & contrast

On white

9.67
#2C36A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2C36A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C36A4
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C36A4#FFFFFF#000000##FFFFFF
##2C36A41.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA7
Deuteranopia (green-blind)
#003FA2
Tritanopia (blue-blind)
#005368
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c36a4;
/* rgb */ color: rgb(44, 54, 164);
/* oklch */ color: oklch(40.2% 0.175 271.7);
Tailwind
colors: {
  custom: {
    50: '#776dc0',
    500: '#2c36a4',
    950: '#000000',
  },
}
SCSS
$custom: #2c36a4;
$custom-light: #776dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c36a4",
  "rgb": {
    "r": 44,
    "g": 54,
    "b": 164
  },
  "hsl": {
    "h": 235,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40216,
    "c": 0.17453,
    "h": 271.7
  },
  "luminance": 0.05854
}

Semantic roles & 50–950 ramp

primary
#2C36A4
secondary
#C0B96B
accent
#D447E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2C36A4

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

Preview Lab → · Contrast checker → · Palette generator →

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