#2C36AA#2C36AA

#2C36AA is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.8% C 0.182 H 271.5°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#2C36AA
RGBrgb(44, 54, 170)
HSLhsl(235, 59%, 42%)
HSVhsv(235, 74%, 67%)
CMYKcmyk(74.1%, 68.2%, 0%, 33.3%)
CIE-LABlab(29.60, 36.39, -63.03)
CIE-LCHlch(29.60, 72.78, 300.00°)
OKLaboklab(40.8% 0.0047 -0.1823)
OKLCHoklch(40.8% 0.182 271.5)
XYZxyz(9.6111, 6.0751, 38.6885)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C36AA #AAA02C
analogous
#2C75AA #2C36AA #612CAA
triadic
#2C36AA #AA2C36 #36AA2C
tetradic
#2C36AA #AA2C75 #AAA02C #2CAA61
square
#2C36AA #AA2C75 #AAA02C #2CAA61
split-complementary
#2C36AA #AA612C #75AA2C
monochromatic
#131749 #1F2779 #2C36AA #444FCF #757DDB

Accessibility & contrast

On white

9.48
#2C36AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C36AA
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C36AA#FFFFFF#000000##FFFFFF
##2C36AA1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c36aa;
/* rgb */ color: rgb(44, 54, 170);
/* oklch */ color: oklch(40.8% 0.182 271.5);
Tailwind
colors: {
  custom: {
    50: '#796dc4',
    500: '#2c36aa',
    950: '#000000',
  },
}
SCSS
$custom: #2c36aa;
$custom-light: #796dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c36aa",
  "rgb": {
    "r": 44,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 235.238,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40796,
    "c": 0.18238,
    "h": 271.5
  },
  "luminance": 0.06076
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C36AA

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

Preview Lab → · Contrast checker → · Palette generator →

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