#2A209A#2A209A

#2A209A is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.185 H 275.1°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#2A209A
RGBrgb(42, 32, 154)
HSLhsl(245, 66%, 36%)
HSVhsv(245, 79%, 60%)
CMYKcmyk(72.7%, 79.2%, 0%, 39.6%)
CIE-LABlab(23.20, 43.61, -63.89)
CIE-LCHlch(23.20, 77.35, 304.32°)
OKLaboklab(35.7% 0.0166 -0.1847)
OKLCHoklch(35.7% 0.185 275.1)
XYZxyz(7.3022, 3.8577, 30.9254)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A209A #909A20
analogous
#20539A #2A209A #67209A
triadic
#2A209A #9A2A20 #209A2A
tetradic
#2A209A #9A2053 #909A20 #209A67
square
#2A209A #9A2053 #909A20 #209A67
split-complementary
#2A209A #9A6720 #539A20
monochromatic
#0E0B35 #1C1567 #2A209A #382BCD #6358DC

Accessibility & contrast

On white

11.85
#2A209A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2A209A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A209A
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A209A#FFFFFF#000000##FFFFFF
##2A209A1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9D
Deuteranopia (green-blind)
#003298
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2a209a;
/* rgb */ color: rgb(42, 32, 154);
/* oklch */ color: oklch(35.7% 0.185 275.1);
Tailwind
colors: {
  custom: {
    50: '#765eb9',
    500: '#2a209a',
    950: '#000000',
  },
}
SCSS
$custom: #2a209a;
$custom-light: #765eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a209a",
  "rgb": {
    "r": 42,
    "g": 32,
    "b": 154
  },
  "hsl": {
    "h": 244.918,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35698,
    "c": 0.18549,
    "h": 275.1
  },
  "luminance": 0.03858
}

Semantic roles & 50–950 ramp

primary
#2A209A
secondary
#B7C056
accent
#E93FDB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2A209A

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

Preview Lab → · Contrast checker → · Palette generator →

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