#2C2DB9#2C2DB9

#2C2DB9 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.0% C 0.210 H 271.9°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#2C2DB9
RGBrgb(44, 45, 185)
HSLhsl(240, 62%, 45%)
HSVhsv(240, 76%, 73%)
CMYKcmyk(76.2%, 75.7%, 0%, 27.5%)
CIE-LABlab(29.19, 46.86, -72.65)
CIE-LCHlch(29.19, 86.45, 302.82°)
OKLaboklab(40.96% 0.007 -0.2103)
OKLCHoklch(40.96% 0.21 271.9)
XYZxyz(10.7311, 5.9139, 46.4655)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2DB9 #B9B82C
analogous
#2C74B9 #2C2DB9 #712CB9
triadic
#2C2DB9 #B92C2D #2DB92C
tetradic
#2C2DB9 #B92C74 #B9B82C #2CB971
square
#2C2DB9 #B92C74 #B9B82C #2CB971
split-complementary
#2C2DB9 #B9712C #74B92C
monochromatic
#141556 #202188 #2C2DB9 #4D4ED5 #7F80E1

Accessibility & contrast

On white

9.62
#2C2DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2C2DB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2DB9
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2DB9#FFFFFF#000000##FFFFFF
##2C2DB91.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBD
Deuteranopia (green-blind)
#003EB7
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c2db9;
/* rgb */ color: rgb(44, 45, 185);
/* oklch */ color: oklch(41.0% 0.210 271.9);
Tailwind
colors: {
  custom: {
    50: '#7d68cf',
    500: '#2c2db9',
    950: '#000000',
  },
}
SCSS
$custom: #2c2db9;
$custom-light: #7d68cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2db9",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 185
  },
  "hsl": {
    "h": 239.574,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.40959,
    "c": 0.21044,
    "h": 271.9
  },
  "luminance": 0.05915
}

Semantic roles & 50–950 ramp

primary
#2C2DB9
secondary
#C9C978
accent
#E443E5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2C2DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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