#2C2DB1#2C2DB1

#2C2DB1 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.1% C 0.201 H 272.4°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#2C2DB1
RGBrgb(44, 45, 177)
HSLhsl(240, 60%, 43%)
HSVhsv(240, 75%, 69%)
CMYKcmyk(75.1%, 74.6%, 0%, 30.6%)
CIE-LABlab(28.34, 44.21, -69.30)
CIE-LCHlch(28.34, 82.20, 302.53°)
OKLaboklab(40.1% 0.0084 -0.2006)
OKLCHoklch(40.1% 0.201 272.4)
XYZxyz(9.9102, 5.5855, 42.1423)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2DB1 #B1B02C
analogous
#2C6FB1 #2C2DB1 #6D2CB1
triadic
#2C2DB1 #B12C2D #2DB12C
tetradic
#2C2DB1 #B12C6F #B1B02C #2CB16D
square
#2C2DB1 #B12C6F #B1B02C #2CB16D
split-complementary
#2C2DB1 #B16D2C #6FB12C
monochromatic
#14144F #202180 #2C2DB1 #494AD2 #7A7ADE

Accessibility & contrast

On white

9.92
#2C2DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2C2DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2DB1
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2DB1#FFFFFF#000000##FFFFFF
##2C2DB11.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c2db1;
/* rgb */ color: rgb(44, 45, 177);
/* oklch */ color: oklch(40.1% 0.201 272.4);
Tailwind
colors: {
  custom: {
    50: '#7b68ca',
    500: '#2c2db1',
    950: '#000000',
  },
}
SCSS
$custom: #2c2db1;
$custom-light: #7b68ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2db1",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 239.549,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40103,
    "c": 0.20075,
    "h": 272.4
  },
  "luminance": 0.05587
}

Semantic roles & 50–950 ramp

primary
#2C2DB1
secondary
#C6C573
accent
#E244E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C2DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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