#2A2DAE#2A2DAE

#2A2DAE is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.7% C 0.198 H 271.9°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#2A2DAE
RGBrgb(42, 45, 174)
HSLhsl(239, 61%, 42%)
HSVhsv(239, 76%, 68%)
CMYKcmyk(75.9%, 74.1%, 0%, 31.8%)
CIE-LABlab(27.91, 43.02, -68.22)
CIE-LCHlch(27.91, 80.66, 302.24°)
OKLaboklab(39.67% 0.0066 -0.1975)
OKLCHoklch(39.67% 0.198 271.9)
XYZxyz(9.5306, 5.4240, 40.5808)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2DAE #AEAB2A
analogous
#2A6FAE #2A2DAE #692AAE
triadic
#2A2DAE #AE2A2D #2DAE2A
tetradic
#2A2DAE #AE2A6F #AEAB2A #2AAE69
square
#2A2DAE #AE2A6F #AEAB2A #2AAE69
split-complementary
#2A2DAE #AE692A #6FAE2A
monochromatic
#12144B #1E207D #2A2DAE #4347D2 #7577DE

Accessibility & contrast

On white

10.07
#2A2DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2A2DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2DAE
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2DAE#FFFFFF#000000##FFFFFF
##2A2DAE1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a2dae;
/* rgb */ color: rgb(42, 45, 174);
/* oklch */ color: oklch(39.7% 0.198 271.9);
Tailwind
colors: {
  custom: {
    50: '#7a67c7',
    500: '#2a2dae',
    950: '#000000',
  },
}
SCSS
$custom: #2a2dae;
$custom-light: #7a67c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2dae",
  "rgb": {
    "r": 42,
    "g": 45,
    "b": 174
  },
  "hsl": {
    "h": 238.636,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.39671,
    "c": 0.19759,
    "h": 271.9
  },
  "luminance": 0.05425
}

Semantic roles & 50–950 ramp

primary
#2A2DAE
secondary
#C5C36F
accent
#E144E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2A2DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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