#2C3AAC#2C3AAC

#2C3AAC is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.7% C 0.180 H 270.7°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#2C3AAC
RGBrgb(44, 58, 172)
HSLhsl(233, 59%, 42%)
HSVhsv(233, 74%, 67%)
CMYKcmyk(74.4%, 66.3%, 0%, 32.5%)
CIE-LABlab(30.73, 34.57, -62.37)
CIE-LCHlch(30.73, 71.31, 299.00°)
OKLaboklab(41.68% 0.0021 -0.1804)
OKLCHoklch(41.68% 0.18 270.7)
XYZxyz(9.9956, 6.5391, 39.7571)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3AAC #AC9E2C
analogous
#2C7AAC #2C3AAC #5E2CAC
triadic
#2C3AAC #AC2C3A #3AAC2C
tetradic
#2C3AAC #AC2C7A #AC9E2C #2CAC5E
square
#2C3AAC #AC2C7A #AC9E2C #2CAC5E
split-complementary
#2C3AAC #AC5E2C #7AAC2C
monochromatic
#13194B #202A7B #2C3AAC #4655D0 #7681DC

Accessibility & contrast

On white

9.10
#2C3AAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2C3AAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3AAC
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3AAC#FFFFFF#000000##FFFFFF
##2C3AAC1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#0042AA
Tritanopia (blue-blind)
#00586E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c3aac;
/* rgb */ color: rgb(44, 58, 172);
/* oklch */ color: oklch(41.7% 0.180 270.7);
Tailwind
colors: {
  custom: {
    50: '#7970c6',
    500: '#2c3aac',
    950: '#000000',
  },
}
SCSS
$custom: #2c3aac;
$custom-light: #7970c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3aac",
  "rgb": {
    "r": 44,
    "g": 58,
    "b": 172
  },
  "hsl": {
    "h": 233.438,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41678,
    "c": 0.18038,
    "h": 270.7
  },
  "luminance": 0.0654
}

Semantic roles & 50–950 ramp

primary
#2C3AAC
secondary
#C4BB70
accent
#D145E2
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2C3AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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