#2C2CB1#2C2CB1

#2C2CB1 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.0% C 0.202 H 272.5°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#2C2CB1
RGBrgb(44, 44, 177)
HSLhsl(240, 60%, 43%)
HSVhsv(240, 75%, 69%)
CMYKcmyk(75.1%, 75.1%, 0%, 30.6%)
CIE-LABlab(28.14, 44.77, -69.63)
CIE-LCHlch(28.14, 82.78, 302.74°)
OKLaboklab(39.96% 0.0089 -0.2015)
OKLCHoklch(39.96% 0.202 272.5)
XYZxyz(9.8725, 5.5101, 42.1297)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2CB1 #B1B12C
analogous
#2C6EB1 #2C2CB1 #6E2CB1
triadic
#2C2CB1 #B12C2C #2CB12C
tetradic
#2C2CB1 #B12C6E #B1B12C #2CB16E
square
#2C2CB1 #B12C6E #B1B12C #2CB16E
split-complementary
#2C2CB1 #B16E2C #6EB12C
monochromatic
#14144F #202080 #2C2CB1 #4949D2 #7A7ADE

Accessibility & contrast

On white

9.99
#2C2CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2C2CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2CB1
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2CB1#FFFFFF#000000##FFFFFF
##2C2CB11.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#003CAF
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c2cb1;
/* rgb */ color: rgb(44, 44, 177);
/* oklch */ color: oklch(40.0% 0.202 272.5);
Tailwind
colors: {
  custom: {
    50: '#7b67ca',
    500: '#2c2cb1',
    950: '#000000',
  },
}
SCSS
$custom: #2c2cb1;
$custom-light: #7b67ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2cb1",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 240,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.3996,
    "c": 0.20172,
    "h": 272.5
  },
  "luminance": 0.05511
}

Semantic roles & 50–950 ramp

primary
#2C2CB1
secondary
#C6C673
accent
#E344E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C2CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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