#2C3CAC#2C3CAC

#2C3CAC is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.0% C 0.178 H 270.3°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#2C3CAC
RGBrgb(44, 60, 172)
HSLhsl(233, 59%, 42%)
HSVhsv(233, 74%, 67%)
CMYKcmyk(74.4%, 65.1%, 0%, 32.5%)
CIE-LABlab(31.22, 33.29, -61.58)
CIE-LCHlch(31.22, 70.00, 298.39°)
OKLaboklab(42.03% 0.0008 -0.178)
OKLCHoklch(42.03% 0.178 270.3)
XYZxyz(10.0984, 6.7447, 39.7914)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3CAC #AC9C2C
analogous
#2C7CAC #2C3CAC #5C2CAC
triadic
#2C3CAC #AC2C3C #3CAC2C
tetradic
#2C3CAC #AC2C7C #AC9C2C #2CAC5C
square
#2C3CAC #AC2C7C #AC9C2C #2CAC5C
split-complementary
#2C3CAC #AC5C2C #7CAC2C
monochromatic
#131A4B #202B7B #2C3CAC #4657D0 #7683DC

Accessibility & contrast

On white

8.94
#2C3CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2C3CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3CAC
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3CAC#FFFFFF#000000##FFFFFF
##2C3CAC1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#0044AA
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c3cac;
/* rgb */ color: rgb(44, 60, 172);
/* oklch */ color: oklch(42.0% 0.178 270.3);
Tailwind
colors: {
  custom: {
    50: '#7971c6',
    500: '#2c3cac',
    950: '#000000',
  },
}
SCSS
$custom: #2c3cac;
$custom-light: #7971c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3cac",
  "rgb": {
    "r": 44,
    "g": 60,
    "b": 172
  },
  "hsl": {
    "h": 232.5,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42032,
    "c": 0.17803,
    "h": 270.3
  },
  "luminance": 0.06746
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C3CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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