#2C36B2#2C36B2

#2C36B2 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.6% C 0.193 H 271.1°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#2C36B2
RGBrgb(44, 54, 178)
HSLhsl(236, 60%, 44%)
HSVhsv(236, 75%, 70%)
CMYKcmyk(75.3%, 69.7%, 0%, 30.2%)
CIE-LABlab(30.37, 39.21, -66.56)
CIE-LCHlch(30.37, 77.25, 300.51°)
OKLaboklab(41.59% 0.0038 -0.1926)
OKLCHoklch(41.59% 0.193 271.1)
XYZxyz(10.3910, 6.3871, 42.7960)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C36B2 #B2A82C
analogous
#2C79B2 #2C36B2 #652CB2
triadic
#2C36B2 #B22C36 #36B22C
tetradic
#2C36B2 #B22C79 #B2A82C #2CB265
square
#2C36B2 #B22C79 #B2A82C #2CB265
split-complementary
#2C36B2 #B2652C #79B22C
monochromatic
#141850 #202781 #2C36B2 #4953D2 #7A82DE

Accessibility & contrast

On white

9.22
#2C36B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2C36B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C36B2
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C36B2#FFFFFF#000000##FFFFFF
##2C36B21.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#0041B0
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c36b2;
/* rgb */ color: rgb(44, 54, 178);
/* oklch */ color: oklch(41.6% 0.193 271.1);
Tailwind
colors: {
  custom: {
    50: '#7b6dca',
    500: '#2c36b2',
    950: '#000000',
  },
}
SCSS
$custom: #2c36b2;
$custom-light: #7b6dca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c36b2",
  "rgb": {
    "r": 44,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 235.522,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41585,
    "c": 0.19264,
    "h": 271.1
  },
  "luminance": 0.06388
}

Semantic roles & 50–950 ramp

primary
#2C36B2
secondary
#C6C073
accent
#D844E4
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2C36B2

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

Preview Lab → · Contrast checker → · Palette generator →

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