#2A2CA9#2A2CA9

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

Color values

HEX#2A2CA9
RGBrgb(42, 44, 169)
HSLhsl(239, 60%, 41%)
HSVhsv(239, 75%, 66%)
CMYKcmyk(75.1%, 74%, 0%, 33.7%)
CIE-LABlab(27.18, 41.91, -66.43)
CIE-LCHlch(27.18, 78.54, 302.25°)
OKLaboklab(38.99% 0.0079 -0.1922)
OKLCHoklch(38.99% 0.192 272.4)
XYZxyz(9.0145, 5.1572, 38.0488)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2CA9 #A9A72A
analogous
#2A6CA9 #2A2CA9 #682AA9
triadic
#2A2CA9 #A92A2C #2CA92A
tetradic
#2A2CA9 #A92A6C #A9A72A #2AA968
square
#2A2CA9 #A92A6C #A9A72A #2AA968
split-complementary
#2A2CA9 #A9682A #6CA92A
monochromatic
#121247 #1E1F78 #2A2CA9 #4143D0 #7273DC

Accessibility & contrast

On white

10.34
#2A2CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2A2CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2CA9
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2CA9#FFFFFF#000000##FFFFFF
##2A2CA91.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.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: #2a2ca9;
/* rgb */ color: rgb(42, 44, 169);
/* oklch */ color: oklch(39.0% 0.192 272.4);
Tailwind
colors: {
  custom: {
    50: '#7967c4',
    500: '#2a2ca9',
    950: '#000000',
  },
}
SCSS
$custom: #2a2ca9;
$custom-light: #7967c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2ca9",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 239.055,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38994,
    "c": 0.1924,
    "h": 272.4
  },
  "luminance": 0.05158
}

Semantic roles & 50–950 ramp

primary
#2A2CA9
secondary
#C3C26C
accent
#E144E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2A2CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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