#2A2CAE#2A2CAE

#2A2CAE is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.5% C 0.199 H 272.0°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#2A2CAE
RGBrgb(42, 44, 174)
HSLhsl(239, 61%, 42%)
HSVhsv(239, 76%, 68%)
CMYKcmyk(75.9%, 74.7%, 0%, 31.8%)
CIE-LABlab(27.71, 43.60, -68.56)
CIE-LCHlch(27.71, 81.25, 302.45°)
OKLaboklab(39.53% 0.0071 -0.1984)
OKLCHoklch(39.53% 0.199 272)
XYZxyz(9.4929, 5.3486, 40.5683)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2CAE #AEAC2A
analogous
#2A6EAE #2A2CAE #6A2AAE
triadic
#2A2CAE #AE2A2C #2CAE2A
tetradic
#2A2CAE #AE2A6E #AEAC2A #2AAE6A
square
#2A2CAE #AE2A6E #AEAC2A #2AAE6A
split-complementary
#2A2CAE #AE6A2A #6EAE2A
monochromatic
#12134B #1E207D #2A2CAE #4346D2 #7576DE

Accessibility & contrast

On white

10.14
#2A2CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2A2CAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2CAE
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2CAE#FFFFFF#000000##FFFFFF
##2A2CAE1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B2
Deuteranopia (green-blind)
#003BAC
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a2cae;
/* rgb */ color: rgb(42, 44, 174);
/* oklch */ color: oklch(39.5% 0.199 272.0);
Tailwind
colors: {
  custom: {
    50: '#7a67c7',
    500: '#2a2cae',
    950: '#000000',
  },
}
SCSS
$custom: #2a2cae;
$custom-light: #7a67c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2cae",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 174
  },
  "hsl": {
    "h": 239.091,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.39526,
    "c": 0.19858,
    "h": 272
  },
  "luminance": 0.0535
}

Semantic roles & 50–950 ramp

primary
#2A2CAE
secondary
#C5C46F
accent
#E244E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2A2CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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