#2C36A9#2C36A9

#2C36A9 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.7% C 0.181 H 271.5°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#2C36A9
RGBrgb(44, 54, 169)
HSLhsl(235, 59%, 42%)
HSVhsv(235, 74%, 66%)
CMYKcmyk(74%, 68%, 0%, 33.7%)
CIE-LABlab(29.51, 36.03, -62.59)
CIE-LCHlch(29.51, 72.22, 299.93°)
OKLaboklab(40.7% 0.0048 -0.181)
OKLCHoklch(40.7% 0.181 271.5)
XYZxyz(9.5169, 6.0374, 38.1922)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C36A9 #A99F2C
analogous
#2C75A9 #2C36A9 #612CA9
triadic
#2C36A9 #A92C36 #36A92C
tetradic
#2C36A9 #A92C75 #A99F2C #2CA961
square
#2C36A9 #A92C75 #A99F2C #2CA961
split-complementary
#2C36A9 #A9612C #75A92C
monochromatic
#131748 #1F2678 #2C36A9 #444FCE #747DDB

Accessibility & contrast

On white

9.51
#2C36A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2C36A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C36A9
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C36A9#FFFFFF#000000##FFFFFF
##2C36A91.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAD
Deuteranopia (green-blind)
#0040A7
Tritanopia (blue-blind)
#00556B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c36a9;
/* rgb */ color: rgb(44, 54, 169);
/* oklch */ color: oklch(40.7% 0.181 271.5);
Tailwind
colors: {
  custom: {
    50: '#786dc4',
    500: '#2c36a9',
    950: '#000000',
  },
}
SCSS
$custom: #2c36a9;
$custom-light: #786dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c36a9",
  "rgb": {
    "r": 44,
    "g": 54,
    "b": 169
  },
  "hsl": {
    "h": 235.2,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40699,
    "c": 0.18108,
    "h": 271.5
  },
  "luminance": 0.06038
}

Semantic roles & 50–950 ramp

primary
#2C36A9
secondary
#C3BC6E
accent
#D546E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2C36A9

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

Preview Lab → · Contrast checker → · Palette generator →

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