#2A149F#2A149F

#2A149F is a dark, highly saturated blue. Relative luminance 0.035; OKLCH L 35.0% C 0.200 H 275.6°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#2A149F
RGBrgb(42, 20, 159)
HSLhsl(249, 78%, 35%)
HSVhsv(249, 87%, 62%)
CMYKcmyk(73.6%, 87.4%, 0%, 37.6%)
CIE-LABlab(21.93, 50.61, -69.06)
CIE-LCHlch(21.93, 85.62, 306.24°)
OKLaboklab(34.99% 0.0194 -0.1995)
OKLCHoklch(34.99% 0.2 275.6)
XYZxyz(7.4610, 3.4950, 33.0756)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A149F #899F14
analogous
#14449F #2A149F #6F149F
triadic
#2A149F #9F2A14 #149F2A
tetradic
#2A149F #9F1444 #899F14 #149F6F
square
#2A149F #9F1444 #899F14 #149F6F
split-complementary
#2A149F #9F6F14 #449F14
monochromatic
#0D0632 #1C0D69 #2A149F #381BD5 #5F46E8

Accessibility & contrast

On white

12.36
#2A149F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2A149F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A149F
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A149F#FFFFFF#000000##FFFFFF
##2A149F1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA3
Deuteranopia (green-blind)
#002E9D
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2a149f;
/* rgb */ color: rgb(42, 20, 159);
/* oklch */ color: oklch(35.0% 0.200 275.6);
Tailwind
colors: {
  custom: {
    50: '#7859bd',
    500: '#2a149f',
    950: '#000000',
  },
}
SCSS
$custom: #2a149f;
$custom-light: #7859bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a149f",
  "rgb": {
    "r": 42,
    "g": 20,
    "b": 159
  },
  "hsl": {
    "h": 249.496,
    "s": 77.654,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34994,
    "c": 0.20047,
    "h": 275.6
  },
  "luminance": 0.03496
}

Semantic roles & 50–950 ramp

primary
#2A149F
secondary
#B4C846
accent
#F434D6
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2A149F

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

Preview Lab → · Contrast checker → · Palette generator →

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