#2C2CAA#2C2CAA

#2C2CAA is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.193 H 273.0°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#2C2CAA
RGBrgb(44, 44, 170)
HSLhsl(240, 59%, 42%)
HSVhsv(240, 74%, 67%)
CMYKcmyk(74.1%, 74.1%, 0%, 33.3%)
CIE-LABlab(27.40, 42.43, -66.65)
CIE-LCHlch(27.40, 79.01, 302.48°)
OKLaboklab(39.22% 0.0101 -0.1929)
OKLCHoklch(39.22% 0.193 273)
XYZxyz(9.1927, 5.2382, 38.5490)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2CAA #AAAA2C
analogous
#2C6BAA #2C2CAA #6B2CAA
triadic
#2C2CAA #AA2C2C #2CAA2C
tetradic
#2C2CAA #AA2C6B #AAAA2C #2CAA6B
square
#2C2CAA #AA2C6B #AAAA2C #2CAA6B
split-complementary
#2C2CAA #AA6B2C #6BAA2C
monochromatic
#131349 #1F1F79 #2C2CAA #4444CF #7575DB

Accessibility & contrast

On white

10.25
#2C2CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2C2CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2CAA
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2CAA#FFFFFF#000000##FFFFFF
##2C2CAA1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AE
Deuteranopia (green-blind)
#003BA8
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c2caa;
/* rgb */ color: rgb(44, 44, 170);
/* oklch */ color: oklch(39.2% 0.193 273.0);
Tailwind
colors: {
  custom: {
    50: '#7a67c5',
    500: '#2c2caa',
    950: '#000000',
  },
}
SCSS
$custom: #2c2caa;
$custom-light: #7a67c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2caa",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 240,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39217,
    "c": 0.19312,
    "h": 273
  },
  "luminance": 0.05239
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C2CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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