#2A2AAE#2A2AAE

#2A2AAE is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.2% C 0.201 H 272.3°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#2A2AAE
RGBrgb(42, 42, 174)
HSLhsl(240, 61%, 42%)
HSVhsv(240, 76%, 68%)
CMYKcmyk(75.9%, 75.9%, 0%, 31.8%)
CIE-LABlab(27.31, 44.73, -69.22)
CIE-LCHlch(27.31, 82.41, 302.87°)
OKLaboklab(39.24% 0.0079 -0.2003)
OKLCHoklch(39.24% 0.201 272.3)
XYZxyz(9.4202, 5.2032, 40.5440)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2AAE #AEAE2A
analogous
#2A6CAE #2A2AAE #6C2AAE
triadic
#2A2AAE #AE2A2A #2AAE2A
tetradic
#2A2AAE #AE2A6C #AEAE2A #2AAE6C
square
#2A2AAE #AE2A6C #AEAE2A #2AAE6C
split-complementary
#2A2AAE #AE6C2A #6CAE2A
monochromatic
#12124B #1E1E7D #2A2AAE #4343D2 #7575DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A2AAE#FFFFFF#000000##FFFFFF
##2A2AAE1.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)
#0047B2
Deuteranopia (green-blind)
#003AAC
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2a2aae;
/* rgb */ color: rgb(42, 42, 174);
/* oklch */ color: oklch(39.2% 0.201 272.3);
Tailwind
colors: {
  custom: {
    50: '#7a66c7',
    500: '#2a2aae',
    950: '#000000',
  },
}
SCSS
$custom: #2a2aae;
$custom-light: #7a66c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2aae",
  "rgb": {
    "r": 42,
    "g": 42,
    "b": 174
  },
  "hsl": {
    "h": 240,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.39242,
    "c": 0.20051,
    "h": 272.3
  },
  "luminance": 0.05204
}

Semantic roles & 50–950 ramp

primary
#2A2AAE
secondary
#C5C56F
accent
#E444E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2A2AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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