#2C2DA4#2C2DA4

#2C2DA4 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.185 H 273.3°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#2C2DA4
RGBrgb(44, 45, 164)
HSLhsl(240, 58%, 41%)
HSVhsv(240, 73%, 64%)
CMYKcmyk(73.2%, 72.6%, 0%, 35.7%)
CIE-LABlab(26.99, 39.80, -63.71)
CIE-LCHlch(26.99, 75.12, 302.00°)
OKLaboklab(38.74% 0.0106 -0.1843)
OKLCHoklch(38.74% 0.185 273.3)
XYZxyz(8.6757, 5.0917, 35.6403)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2DA4 #A4A32C
analogous
#2C69A4 #2C2DA4 #672CA4
triadic
#2C2DA4 #A42C2D #2DA42C
tetradic
#2C2DA4 #A42C69 #A4A32C #2CA467
square
#2C2DA4 #A42C69 #A4A32C #2CA467
split-complementary
#2C2DA4 #A4672C #69A42C
monochromatic
#121343 #1F2074 #2C2DA4 #4142CC #7172D9

Accessibility & contrast

On white

10.40
#2C2DA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2C2DA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2DA4
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2DA4#FFFFFF#000000##FFFFFF
##2C2DA41.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A8
Deuteranopia (green-blind)
#003AA2
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c2da4;
/* rgb */ color: rgb(44, 45, 164);
/* oklch */ color: oklch(38.7% 0.185 273.3);
Tailwind
colors: {
  custom: {
    50: '#7867c0',
    500: '#2c2da4',
    950: '#000000',
  },
}
SCSS
$custom: #2c2da4;
$custom-light: #7867c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2da4",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 239.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.3874,
    "c": 0.18458,
    "h": 273.3
  },
  "luminance": 0.05093
}

Semantic roles & 50–950 ramp

primary
#2C2DA4
secondary
#C0C06B
accent
#E047E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2C2DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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