#2A20AC#2A20AC

#2A20AC is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.7% C 0.207 H 273.4°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#2A20AC
RGBrgb(42, 32, 172)
HSLhsl(244, 69%, 40%)
HSVhsv(244, 81%, 67%)
CMYKcmyk(75.6%, 81.4%, 0%, 32.5%)
CIE-LABlab(25.27, 49.30, -71.39)
CIE-LCHlch(25.27, 86.76, 304.63°)
OKLaboklab(37.75% 0.0121 -0.2065)
OKLCHoklch(37.75% 0.207 273.4)
XYZxyz(8.9153, 4.5029, 39.4210)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A20AC #A2AC20
analogous
#205CAC #2A20AC #7020AC
triadic
#2A20AC #AC2A20 #20AC2A
tetradic
#2A20AC #AC205C #A2AC20 #20AC70
square
#2A20AC #AC205C #A2AC20 #20AC70
split-complementary
#2A20AC #AC7020 #5CAC20
monochromatic
#110D45 #1D1678 #2A20AC #3D31D9 #6D64E2

Accessibility & contrast

On white

11.05
#2A20AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2A20AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A20AC
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A20AC#FFFFFF#000000##FFFFFF
##2A20AC1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B0
Deuteranopia (green-blind)
#0035AA
Tritanopia (blue-blind)
#004C67
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2a20ac;
/* rgb */ color: rgb(42, 32, 172);
/* oklch */ color: oklch(37.7% 0.207 273.4);
Tailwind
colors: {
  custom: {
    50: '#7a60c6',
    500: '#2a20ac',
    950: '#000000',
  },
}
SCSS
$custom: #2a20ac;
$custom-light: #7a60c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a20ac",
  "rgb": {
    "r": 42,
    "g": 32,
    "b": 172
  },
  "hsl": {
    "h": 244.286,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.37749,
    "c": 0.20688,
    "h": 273.4
  },
  "luminance": 0.04504
}

Semantic roles & 50–950 ramp

primary
#2A20AC
secondary
#C0C760
accent
#EB3CDF
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2A20AC

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

Preview Lab → · Contrast checker → · Palette generator →

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