#2A1690#2A1690

#2A1690 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.4% C 0.182 H 277.5°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#2A1690
RGBrgb(42, 22, 144)
HSLhsl(250, 73%, 33%)
HSVhsv(250, 85%, 56%)
CMYKcmyk(70.8%, 84.7%, 0%, 43.5%)
CIE-LABlab(20.36, 45.36, -62.41)
CIE-LCHlch(20.36, 77.15, 306.01°)
OKLaboklab(33.39% 0.0237 -0.1803)
OKLCHoklch(33.39% 0.182 277.5)
XYZxyz(6.2742, 3.0791, 26.6438)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1690 #7C9016
analogous
#163F90 #2A1690 #671690
triadic
#2A1690 #902A16 #16902A
tetradic
#2A1690 #90163F #7C9016 #169067
square
#2A1690 #90163F #7C9016 #169067
split-complementary
#2A1690 #906716 #3F9016
monochromatic
#0B0626 #1B0E5B #2A1690 #391EC5 #593FE2

Accessibility & contrast

On white

13.00
#2A1690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2A1690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1690
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1690#FFFFFF#000000##FFFFFF
##2A16901.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003693
Deuteranopia (green-blind)
#002C8E
Tritanopia (blue-blind)
#003D55
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2a1690;
/* rgb */ color: rgb(42, 22, 144);
/* oklch */ color: oklch(33.4% 0.182 277.5);
Tailwind
colors: {
  custom: {
    50: '#7558b2',
    500: '#2a1690',
    950: '#000000',
  },
}
SCSS
$custom: #2a1690;
$custom-light: #7558b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1690",
  "rgb": {
    "r": 42,
    "g": 22,
    "b": 144
  },
  "hsl": {
    "h": 249.836,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33389,
    "c": 0.18185,
    "h": 277.5
  },
  "luminance": 0.0308
}

Semantic roles & 50–950 ramp

primary
#2A1690
secondary
#ADC240
accent
#F038D2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2A1690

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

Preview Lab → · Contrast checker → · Palette generator →

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