#2C36A6#2C36A6

#2C36A6 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.4% C 0.177 H 271.6°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#2C36A6
RGBrgb(44, 54, 166)
HSLhsl(235, 58%, 41%)
HSVhsv(235, 73%, 65%)
CMYKcmyk(73.5%, 67.5%, 0%, 34.9%)
CIE-LABlab(29.23, 34.96, -61.25)
CIE-LCHlch(29.23, 70.52, 299.72°)
OKLaboklab(40.41% 0.0051 -0.1771)
OKLCHoklch(40.41% 0.177 271.6)
XYZxyz(9.2385, 5.9260, 36.7260)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C36A6 #A69C2C
analogous
#2C73A6 #2C36A6 #5F2CA6
triadic
#2C36A6 #A62C36 #36A62C
tetradic
#2C36A6 #A62C73 #A69C2C #2CA65F
square
#2C36A6 #A62C73 #A69C2C #2CA65F
split-complementary
#2C36A6 #A65F2C #73A62C
monochromatic
#121745 #1F2676 #2C36A6 #424ECD #737BDA

Accessibility & contrast

On white

9.61
#2C36A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2C36A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C36A6
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C36A6#FFFFFF#000000##FFFFFF
##2C36A61.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA9
Deuteranopia (green-blind)
#003FA4
Tritanopia (blue-blind)
#005469
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c36a6;
/* rgb */ color: rgb(44, 54, 166);
/* oklch */ color: oklch(40.4% 0.177 271.6);
Tailwind
colors: {
  custom: {
    50: '#786dc1',
    500: '#2c36a6',
    950: '#000000',
  },
}
SCSS
$custom: #2c36a6;
$custom-light: #786dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c36a6",
  "rgb": {
    "r": 44,
    "g": 54,
    "b": 166
  },
  "hsl": {
    "h": 235.082,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40409,
    "c": 0.17716,
    "h": 271.6
  },
  "luminance": 0.05927
}

Semantic roles & 50–950 ramp

primary
#2C36A6
secondary
#C1BA6D
accent
#D546E1
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2C36A6

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

Preview Lab → · Contrast checker → · Palette generator →

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