#2A14A1#2A14A1

#2A14A1 is a dark, highly saturated blue. Relative luminance 0.036; OKLCH L 35.2% C 0.203 H 275.3°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#2A14A1
RGBrgb(42, 20, 161)
HSLhsl(249, 78%, 35%)
HSVhsv(249, 88%, 63%)
CMYKcmyk(73.9%, 87.6%, 0%, 36.9%)
CIE-LABlab(22.18, 51.19, -69.86)
CIE-LCHlch(22.18, 86.60, 306.23°)
OKLaboklab(35.24% 0.0188 -0.2019)
OKLCHoklch(35.24% 0.203 275.3)
XYZxyz(7.6359, 3.5650, 33.9970)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A14A1 #8BA114
analogous
#1444A1 #2A14A1 #7114A1
triadic
#2A14A1 #A12A14 #14A12A
tetradic
#2A14A1 #A11444 #8BA114 #14A171
square
#2A14A1 #A11444 #8BA114 #14A171
split-complementary
#2A14A1 #A17114 #44A114
monochromatic
#0E0634 #1C0D6B #2A14A1 #381BD7 #6047E8

Accessibility & contrast

On white

12.26
#2A14A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2A14A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A14A1
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A14A1#FFFFFF#000000##FFFFFF
##2A14A11.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA5
Deuteranopia (green-blind)
#002F9F
Tritanopia (blue-blind)
#00445F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2a14a1;
/* rgb */ color: rgb(42, 20, 161);
/* oklch */ color: oklch(35.2% 0.203 275.3);
Tailwind
colors: {
  custom: {
    50: '#7959be',
    500: '#2a14a1',
    950: '#000000',
  },
}
SCSS
$custom: #2a14a1;
$custom-light: #7959be;
$custom-dark: #000000;
JSON
{
  "hex": "#2a14a1",
  "rgb": {
    "r": 42,
    "g": 20,
    "b": 161
  },
  "hsl": {
    "h": 249.362,
    "s": 77.901,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35238,
    "c": 0.20273,
    "h": 275.3
  },
  "luminance": 0.03566
}

Semantic roles & 50–950 ramp

primary
#2A14A1
secondary
#B5C948
accent
#F433D6
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2A14A1

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

Preview Lab → · Contrast checker → · Palette generator →

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