#2A2CAD#2A2CAD

#2A2CAD is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.4% C 0.197 H 272.1°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#2A2CAD
RGBrgb(42, 44, 173)
HSLhsl(239, 61%, 42%)
HSVhsv(239, 76%, 68%)
CMYKcmyk(75.7%, 74.6%, 0%, 32.2%)
CIE-LABlab(27.60, 43.26, -68.14)
CIE-LCHlch(27.60, 80.71, 302.41°)
OKLaboklab(39.42% 0.0073 -0.1972)
OKLCHoklch(39.42% 0.197 272.1)
XYZxyz(9.3958, 5.3097, 40.0568)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2CAD #ADAB2A
analogous
#2A6EAD #2A2CAD #6A2AAD
triadic
#2A2CAD #AD2A2C #2CAD2A
tetradic
#2A2CAD #AD2A6E #ADAB2A #2AAD6A
square
#2A2CAD #AD2A6E #ADAB2A #2AAD6A
split-complementary
#2A2CAD #AD6A2A #6EAD2A
monochromatic
#12134B #1E1F7C #2A2CAD #4345D1 #7476DD

Accessibility & contrast

On white

10.18
#2A2CAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2A2CAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2CAD
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2CAD#FFFFFF#000000##FFFFFF
##2A2CAD1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B1
Deuteranopia (green-blind)
#003BAB
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a2cad;
/* rgb */ color: rgb(42, 44, 173);
/* oklch */ color: oklch(39.4% 0.197 272.1);
Tailwind
colors: {
  custom: {
    50: '#7a67c7',
    500: '#2a2cad',
    950: '#000000',
  },
}
SCSS
$custom: #2a2cad;
$custom-light: #7a67c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2cad",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 173
  },
  "hsl": {
    "h": 239.084,
    "s": 60.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.39419,
    "c": 0.19735,
    "h": 272.1
  },
  "luminance": 0.05311
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A2CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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