#2A16A5#2A16A5

#2A16A5 is a dark, highly saturated blue. Relative luminance 0.038; OKLCH L 35.9% C 0.206 H 274.7°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#2A16A5
RGBrgb(42, 22, 165)
HSLhsl(248, 76%, 37%)
HSVhsv(248, 87%, 65%)
CMYKcmyk(74.5%, 86.7%, 0%, 35.3%)
CIE-LABlab(22.94, 51.57, -71.03)
CIE-LCHlch(22.94, 87.78, 305.98°)
OKLaboklab(35.9% 0.017 -0.2053)
OKLCHoklch(35.9% 0.206 274.7)
XYZxyz(8.0310, 3.7819, 35.8967)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A16A5 #91A516
analogous
#1649A5 #2A16A5 #7216A5
triadic
#2A16A5 #A52A16 #16A52A
tetradic
#2A16A5 #A51649 #91A516 #16A572
square
#2A16A5 #A51649 #91A516 #16A572
split-complementary
#2A16A5 #A57216 #49A516
monochromatic
#0F0839 #1C0F6F #2A16A5 #381DDB #634EE7

Accessibility & contrast

On white

11.95
#2A16A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2A16A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A16A5
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A16A5#FFFFFF#000000##FFFFFF
##2A16A51.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA9
Deuteranopia (green-blind)
#0030A3
Tritanopia (blue-blind)
#004661
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2a16a5;
/* rgb */ color: rgb(42, 22, 165);
/* oklch */ color: oklch(35.9% 0.206 274.7);
Tailwind
colors: {
  custom: {
    50: '#7a5ac1',
    500: '#2a16a5',
    950: '#000000',
  },
}
SCSS
$custom: #2a16a5;
$custom-light: #7a5ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a16a5",
  "rgb": {
    "r": 42,
    "g": 22,
    "b": 165
  },
  "hsl": {
    "h": 248.392,
    "s": 76.471,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35899,
    "c": 0.206,
    "h": 274.7
  },
  "luminance": 0.03783
}

Semantic roles & 50–950 ramp

primary
#2A16A5
secondary
#B8C94E
accent
#F335D8
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #2A16A5

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

Preview Lab → · Contrast checker → · Palette generator →

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