#2C3DAC#2C3DAC

#2C3DAC is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.2% C 0.177 H 270.1°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#2C3DAC
RGBrgb(44, 61, 172)
HSLhsl(232, 59%, 42%)
HSVhsv(232, 74%, 67%)
CMYKcmyk(74.4%, 64.5%, 0%, 32.5%)
CIE-LABlab(31.46, 32.64, -61.18)
CIE-LCHlch(31.46, 69.34, 298.08°)
OKLaboklab(42.21% 0.0002 -0.1768)
OKLCHoklch(42.21% 0.177 270.1)
XYZxyz(10.1513, 6.8504, 39.8090)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3DAC #AC9B2C
analogous
#2C7DAC #2C3DAC #5B2CAC
triadic
#2C3DAC #AC2C3D #3DAC2C
tetradic
#2C3DAC #AC2C7D #AC9B2C #2CAC5B
square
#2C3DAC #AC2C7D #AC9B2C #2CAC5B
split-complementary
#2C3DAC #AC5B2C #7DAC2C
monochromatic
#131A4B #202C7B #2C3DAC #4658D0 #7684DC

Accessibility & contrast

On white

8.86
#2C3DAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2C3DAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3DAC
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3DAC#FFFFFF#000000##FFFFFF
##2C3DAC1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c3dac;
/* rgb */ color: rgb(44, 61, 172);
/* oklch */ color: oklch(42.2% 0.177 270.1);
Tailwind
colors: {
  custom: {
    50: '#7872c6',
    500: '#2c3dac',
    950: '#000000',
  },
}
SCSS
$custom: #2c3dac;
$custom-light: #7872c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3dac",
  "rgb": {
    "r": 44,
    "g": 61,
    "b": 172
  },
  "hsl": {
    "h": 232.031,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42212,
    "c": 0.17685,
    "h": 270.1
  },
  "luminance": 0.06852
}

Semantic roles & 50–950 ramp

primary
#2C3DAC
secondary
#C4B970
accent
#CE45E2
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2C3DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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