#2C36A2#2C36A2

#2C36A2 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.0% C 0.172 H 271.8°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#2C36A2
RGBrgb(44, 54, 162)
HSLhsl(235, 57%, 40%)
HSVhsv(235, 73%, 64%)
CMYKcmyk(72.8%, 66.7%, 0%, 36.5%)
CIE-LABlab(28.85, 33.52, -59.44)
CIE-LCHlch(28.85, 68.24, 299.42°)
OKLaboklab(40.03% 0.0054 -0.1718)
OKLCHoklch(40.03% 0.172 271.8)
XYZxyz(8.8773, 5.7815, 34.8235)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C36A2 #A2982C
analogous
#2C71A2 #2C36A2 #5D2CA2
triadic
#2C36A2 #A22C36 #36A22C
tetradic
#2C36A2 #A22C71 #A2982C #2CA25D
square
#2C36A2 #A22C71 #A2982C #2CA25D
split-complementary
#2C36A2 #A25D2C #71A22C
monochromatic
#121642 #1F2672 #2C36A2 #404CCB #7079D8

Accessibility & contrast

On white

9.74
#2C36A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2C36A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C36A2
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C36A2#FFFFFF#000000##FFFFFF
##2C36A21.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c36a2;
/* rgb */ color: rgb(44, 54, 162);
/* oklch */ color: oklch(40.0% 0.172 271.8);
Tailwind
colors: {
  custom: {
    50: '#776dbf',
    500: '#2c36a2',
    950: '#000000',
  },
}
SCSS
$custom: #2c36a2;
$custom-light: #776dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c36a2",
  "rgb": {
    "r": 44,
    "g": 54,
    "b": 162
  },
  "hsl": {
    "h": 234.915,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40025,
    "c": 0.17188,
    "h": 271.8
  },
  "luminance": 0.05782
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C36A2

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

Preview Lab → · Contrast checker → · Palette generator →

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