#2C2DAD#2C2DAD

#2C2DAD is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.7% C 0.196 H 272.7°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#2C2DAD
RGBrgb(44, 45, 173)
HSLhsl(240, 59%, 43%)
HSVhsv(240, 75%, 68%)
CMYKcmyk(74.6%, 74%, 0%, 32.2%)
CIE-LABlab(27.92, 42.86, -67.60)
CIE-LCHlch(27.92, 80.04, 302.38°)
OKLaboklab(39.68% 0.0091 -0.1956)
OKLCHoklch(39.68% 0.196 272.7)
XYZxyz(9.5174, 5.4284, 40.0733)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2DAD #ADAC2C
analogous
#2C6DAD #2C2DAD #6C2CAD
triadic
#2C2DAD #AD2C2D #2DAD2C
tetradic
#2C2DAD #AD2C6D #ADAC2C #2CAD6C
square
#2C2DAD #AD2C6D #ADAC2C #2CAD6C
split-complementary
#2C2DAD #AD6C2C #6DAD2C
monochromatic
#13144B #20207C #2C2DAD #4647D0 #7778DC

Accessibility & contrast

On white

10.07
#2C2DAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2C2DAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2DAD
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2DAD#FFFFFF#000000##FFFFFF
##2C2DAD1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B1
Deuteranopia (green-blind)
#003CAB
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c2dad;
/* rgb */ color: rgb(44, 45, 173);
/* oklch */ color: oklch(39.7% 0.196 272.7);
Tailwind
colors: {
  custom: {
    50: '#7a67c7',
    500: '#2c2dad',
    950: '#000000',
  },
}
SCSS
$custom: #2c2dad;
$custom-light: #7a67c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2dad",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 173
  },
  "hsl": {
    "h": 239.535,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.39679,
    "c": 0.19583,
    "h": 272.7
  },
  "luminance": 0.05429
}

Semantic roles & 50–950 ramp

primary
#2C2DAD
secondary
#C4C471
accent
#E145E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C2DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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