#2C3DAD#2C3DAD

#2C3DAD is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.3% C 0.178 H 270.0°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#2C3DAD
RGBrgb(44, 61, 173)
HSLhsl(232, 59%, 43%)
HSVhsv(232, 75%, 68%)
CMYKcmyk(74.6%, 64.7%, 0%, 32.2%)
CIE-LABlab(31.55, 33.01, -61.63)
CIE-LCHlch(31.55, 69.91, 298.17°)
OKLaboklab(42.31% 0.0001 -0.1782)
OKLCHoklch(42.31% 0.178 270)
XYZxyz(10.2477, 6.8890, 40.3167)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3DAD #AD9C2C
analogous
#2C7DAD #2C3DAD #5B2CAD
triadic
#2C3DAD #AD2C3D #3DAD2C
tetradic
#2C3DAD #AD2C7D #AD9C2C #2CAD5B
square
#2C3DAD #AD2C7D #AD9C2C #2CAD5B
split-complementary
#2C3DAD #AD5B2C #7DAD2C
monochromatic
#131B4B #202C7C #2C3DAD #4658D0 #7784DC

Accessibility & contrast

On white

8.83
#2C3DAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2C3DAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3DAD
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3DAD#FFFFFF#000000##FFFFFF
##2C3DAD1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B1
Deuteranopia (green-blind)
#0044AB
Tritanopia (blue-blind)
#005A6F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c3dad;
/* rgb */ color: rgb(44, 61, 173);
/* oklch */ color: oklch(42.3% 0.178 270.0);
Tailwind
colors: {
  custom: {
    50: '#7972c6',
    500: '#2c3dad',
    950: '#000000',
  },
}
SCSS
$custom: #2c3dad;
$custom-light: #7972c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3dad",
  "rgb": {
    "r": 44,
    "g": 61,
    "b": 173
  },
  "hsl": {
    "h": 232.093,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42305,
    "c": 0.17817,
    "h": 270
  },
  "luminance": 0.0689
}

Semantic roles & 50–950 ramp

primary
#2C3DAD
secondary
#C4B971
accent
#CE45E3
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2C3DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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