#2A20A8#2A20A8

#2A20A8 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.3% C 0.202 H 273.7°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#2A20A8
RGBrgb(42, 32, 168)
HSLhsl(244, 68%, 39%)
HSVhsv(244, 81%, 66%)
CMYKcmyk(75%, 81%, 0%, 34.1%)
CIE-LABlab(24.80, 48.05, -69.75)
CIE-LCHlch(24.80, 84.70, 304.56°)
OKLaboklab(37.29% 0.0131 -0.2018)
OKLCHoklch(37.29% 0.202 273.7)
XYZxyz(8.5369, 4.3515, 37.4282)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A20A8 #9EA820
analogous
#205AA8 #2A20A8 #6E20A8
triadic
#2A20A8 #A82A20 #20A82A
tetradic
#2A20A8 #A8205A #9EA820 #20A86E
square
#2A20A8 #A8205A #9EA820 #20A86E
split-complementary
#2A20A8 #A86E20 #5AA820
monochromatic
#100C41 #1D1675 #2A20A8 #3A2ED7 #6B61E1

Accessibility & contrast

On white

11.23
#2A20A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2A20A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A20A8
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A20A8#FFFFFF#000000##FFFFFF
##2A20A81.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AC
Deuteranopia (green-blind)
#0034A6
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a20a8;
/* rgb */ color: rgb(42, 32, 168);
/* oklch */ color: oklch(37.3% 0.202 273.7);
Tailwind
colors: {
  custom: {
    50: '#795fc3',
    500: '#2a20a8',
    950: '#000000',
  },
}
SCSS
$custom: #2a20a8;
$custom-light: #795fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a20a8",
  "rgb": {
    "r": 42,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 244.412,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37288,
    "c": 0.2022,
    "h": 273.7
  },
  "luminance": 0.04352
}

Semantic roles & 50–950 ramp

primary
#2A20A8
secondary
#BEC65E
accent
#EB3DDE
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2A20A8

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

Preview Lab → · Contrast checker → · Palette generator →

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