#2A20AA#2A20AA

#2A20AA is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.5% C 0.205 H 273.5°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#2A20AA
RGBrgb(42, 32, 170)
HSLhsl(244, 68%, 40%)
HSVhsv(244, 81%, 67%)
CMYKcmyk(75.3%, 81.2%, 0%, 33.3%)
CIE-LABlab(25.03, 48.68, -70.58)
CIE-LCHlch(25.03, 85.73, 304.59°)
OKLaboklab(37.52% 0.0126 -0.2042)
OKLCHoklch(37.52% 0.205 273.5)
XYZxyz(8.7246, 4.4266, 38.4170)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A20AA #A0AA20
analogous
#205BAA #2A20AA #6F20AA
triadic
#2A20AA #AA2A20 #20AA2A
tetradic
#2A20AA #AA205B #A0AA20 #20AA6F
square
#2A20AA #AA205B #A0AA20 #20AA6F
split-complementary
#2A20AA #AA6F20 #5BAA20
monochromatic
#110D43 #1D1676 #2A20AA #3C2FD8 #6C63E2

Accessibility & contrast

On white

11.14
#2A20AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2A20AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A20AA
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A20AA#FFFFFF#000000##FFFFFF
##2A20AA1.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AE
Deuteranopia (green-blind)
#0035A8
Tritanopia (blue-blind)
#004B66
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a20aa;
/* rgb */ color: rgb(42, 32, 170);
/* oklch */ color: oklch(37.5% 0.205 273.5);
Tailwind
colors: {
  custom: {
    50: '#7a5fc5',
    500: '#2a20aa',
    950: '#000000',
  },
}
SCSS
$custom: #2a20aa;
$custom-light: #7a5fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a20aa",
  "rgb": {
    "r": 42,
    "g": 32,
    "b": 170
  },
  "hsl": {
    "h": 244.348,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37518,
    "c": 0.20455,
    "h": 273.5
  },
  "luminance": 0.04428
}

Semantic roles & 50–950 ramp

primary
#2A20AA
secondary
#BFC75F
accent
#EB3DDF
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2A20AA

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

Preview Lab → · Contrast checker → · Palette generator →

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