#2A2DAC#2A2DAC

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

Color values

HEX#2A2DAC
RGBrgb(42, 45, 172)
HSLhsl(239, 61%, 42%)
HSVhsv(239, 76%, 67%)
CMYKcmyk(75.6%, 73.8%, 0%, 32.5%)
CIE-LABlab(27.70, 42.34, -67.37)
CIE-LCHlch(27.70, 79.57, 302.15°)
OKLaboklab(39.46% 0.007 -0.195)
OKLCHoklch(39.46% 0.195 272)
XYZxyz(9.3371, 5.3466, 39.5616)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2DAC #ACA92A
analogous
#2A6EAC #2A2DAC #682AAC
triadic
#2A2DAC #AC2A2D #2DAC2A
tetradic
#2A2DAC #AC2A6E #ACA92A #2AAC68
square
#2A2DAC #AC2A6E #ACA92A #2AAC68
split-complementary
#2A2DAC #AC682A #6EAC2A
monochromatic
#12134A #1E207B #2A2DAC #4246D1 #7376DD

Accessibility & contrast

On white

10.15
#2A2DAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2DAC
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2DAC#FFFFFF#000000##FFFFFF
##2A2DAC1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B0
Deuteranopia (green-blind)
#003BAA
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a2dac;
/* rgb */ color: rgb(42, 45, 172);
/* oklch */ color: oklch(39.5% 0.195 272.0);
Tailwind
colors: {
  custom: {
    50: '#7967c6',
    500: '#2a2dac',
    950: '#000000',
  },
}
SCSS
$custom: #2a2dac;
$custom-light: #7967c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2dac",
  "rgb": {
    "r": 42,
    "g": 45,
    "b": 172
  },
  "hsl": {
    "h": 238.615,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39459,
    "c": 0.19511,
    "h": 272
  },
  "luminance": 0.05348
}

Semantic roles & 50–950 ramp

primary
#2A2DAC
secondary
#C4C26D
accent
#E044E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2A2DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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