#2A20A9#2A20A9

#2A20A9 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.4% C 0.203 H 273.6°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#2A20A9
RGBrgb(42, 32, 169)
HSLhsl(244, 68%, 39%)
HSVhsv(244, 81%, 66%)
CMYKcmyk(75.1%, 81.1%, 0%, 33.7%)
CIE-LABlab(24.92, 48.36, -70.17)
CIE-LCHlch(24.92, 85.22, 304.58°)
OKLaboklab(37.4% 0.0129 -0.203)
OKLCHoklch(37.4% 0.203 273.6)
XYZxyz(8.6304, 4.3889, 37.9207)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A20A9 #9FA920
analogous
#205AA9 #2A20A9 #6F20A9
triadic
#2A20A9 #A92A20 #20A92A
tetradic
#2A20A9 #A9205A #9FA920 #20A96F
square
#2A20A9 #A9205A #9FA920 #20A96F
split-complementary
#2A20A9 #A96F20 #5AA920
monochromatic
#100D42 #1D1676 #2A20A9 #3B2FD8 #6B62E1

Accessibility & contrast

On white

11.18
#2A20A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2A20A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A20A9
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A20A9#FFFFFF#000000##FFFFFF
##2A20A91.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AD
Deuteranopia (green-blind)
#0035A7
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a20a9;
/* rgb */ color: rgb(42, 32, 169);
/* oklch */ color: oklch(37.4% 0.203 273.6);
Tailwind
colors: {
  custom: {
    50: '#7a5fc4',
    500: '#2a20a9',
    950: '#000000',
  },
}
SCSS
$custom: #2a20a9;
$custom-light: #7a5fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a20a9",
  "rgb": {
    "r": 42,
    "g": 32,
    "b": 169
  },
  "hsl": {
    "h": 244.38,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37403,
    "c": 0.20338,
    "h": 273.6
  },
  "luminance": 0.0439
}

Semantic roles & 50–950 ramp

primary
#2A20A9
secondary
#BFC65F
accent
#EB3DDE
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2A20A9

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

Preview Lab → · Contrast checker → · Palette generator →

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