#2C2CA9#2C2CA9

#2C2CA9 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.1% C 0.192 H 273.1°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#2C2CA9
RGBrgb(44, 44, 169)
HSLhsl(240, 59%, 42%)
HSVhsv(240, 74%, 66%)
CMYKcmyk(74%, 74%, 0%, 33.7%)
CIE-LABlab(27.30, 42.09, -66.22)
CIE-LCHlch(27.30, 78.47, 302.44°)
OKLaboklab(39.11% 0.0103 -0.1916)
OKLCHoklch(39.11% 0.192 273.1)
XYZxyz(9.0984, 5.2005, 38.0527)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2CA9 #A9A92C
analogous
#2C6BA9 #2C2CA9 #6B2CA9
triadic
#2C2CA9 #A92C2C #2CA92C
tetradic
#2C2CA9 #A92C6B #A9A92C #2CA96B
square
#2C2CA9 #A92C6B #A9A92C #2CA96B
split-complementary
#2C2CA9 #A96B2C #6BA92C
monochromatic
#131348 #1F1F78 #2C2CA9 #4444CE #7474DB

Accessibility & contrast

On white

10.29
#2C2CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2C2CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2CA9
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2CA9#FFFFFF#000000##FFFFFF
##2C2CA91.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AD
Deuteranopia (green-blind)
#003AA7
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c2ca9;
/* rgb */ color: rgb(44, 44, 169);
/* oklch */ color: oklch(39.1% 0.192 273.1);
Tailwind
colors: {
  custom: {
    50: '#7967c4',
    500: '#2c2ca9',
    950: '#000000',
  },
}
SCSS
$custom: #2c2ca9;
$custom-light: #7967c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2ca9",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 240,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39111,
    "c": 0.19189,
    "h": 273.1
  },
  "luminance": 0.05201
}

Semantic roles & 50–950 ramp

primary
#2C2CA9
secondary
#C3C36E
accent
#E246E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C2CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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