#2C36A8#2C36A8

#2C36A8 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.6% C 0.180 H 271.6°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#2C36A8
RGBrgb(44, 54, 168)
HSLhsl(235, 58%, 42%)
HSVhsv(235, 74%, 66%)
CMYKcmyk(73.8%, 67.9%, 0%, 34.1%)
CIE-LABlab(29.41, 35.67, -62.14)
CIE-LCHlch(29.41, 71.65, 299.86°)
OKLaboklab(40.6% 0.0049 -0.1797)
OKLCHoklch(40.6% 0.18 271.6)
XYZxyz(9.4234, 6.0000, 37.6997)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C36A8 #A89E2C
analogous
#2C74A8 #2C36A8 #602CA8
triadic
#2C36A8 #A82C36 #36A82C
tetradic
#2C36A8 #A82C74 #A89E2C #2CA860
square
#2C36A8 #A82C74 #A89E2C #2CA860
split-complementary
#2C36A8 #A8602C #74A82C
monochromatic
#131747 #1F2678 #2C36A8 #434FCE #747CDB

Accessibility & contrast

On white

9.54
#2C36A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2C36A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C36A8
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C36A8#FFFFFF#000000##FFFFFF
##2C36A81.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#003FA6
Tritanopia (blue-blind)
#00556A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c36a8;
/* rgb */ color: rgb(44, 54, 168);
/* oklch */ color: oklch(40.6% 0.180 271.6);
Tailwind
colors: {
  custom: {
    50: '#786dc3',
    500: '#2c36a8',
    950: '#000000',
  },
}
SCSS
$custom: #2c36a8;
$custom-light: #786dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c36a8",
  "rgb": {
    "r": 44,
    "g": 54,
    "b": 168
  },
  "hsl": {
    "h": 235.161,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40602,
    "c": 0.17978,
    "h": 271.6
  },
  "luminance": 0.06001
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C36A8

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

Preview Lab → · Contrast checker → · Palette generator →

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