#2A209B#2A209B

#2A209B is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.187 H 275.0°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#2A209B
RGBrgb(42, 32, 155)
HSLhsl(245, 66%, 37%)
HSVhsv(245, 79%, 61%)
CMYKcmyk(72.9%, 79.4%, 0%, 39.2%)
CIE-LABlab(23.31, 43.93, -64.31)
CIE-LCHlch(23.31, 77.89, 304.34°)
OKLaboklab(35.81% 0.0164 -0.186)
OKLCHoklch(35.81% 0.187 275)
XYZxyz(7.3858, 3.8911, 31.3658)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A209B #919B20
analogous
#20549B #2A209B #68209B
triadic
#2A209B #9B2A20 #209B2A
tetradic
#2A209B #9B2054 #919B20 #209B68
square
#2A209B #9B2054 #919B20 #209B68
split-complementary
#2A209B #9B6820 #549B20
monochromatic
#0F0B36 #1C1668 #2A209B #382ACE #6359DD

Accessibility & contrast

On white

11.81
#2A209B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2A209B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A209B
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A209B#FFFFFF#000000##FFFFFF
##2A209B1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9E
Deuteranopia (green-blind)
#003299
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2a209b;
/* rgb */ color: rgb(42, 32, 155);
/* oklch */ color: oklch(35.8% 0.187 275.0);
Tailwind
colors: {
  custom: {
    50: '#765eba',
    500: '#2a209b',
    950: '#000000',
  },
}
SCSS
$custom: #2a209b;
$custom-light: #765eba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a209b",
  "rgb": {
    "r": 42,
    "g": 32,
    "b": 155
  },
  "hsl": {
    "h": 244.878,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35811,
    "c": 0.18671,
    "h": 275
  },
  "luminance": 0.03892
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A209B

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

Preview Lab → · Contrast checker → · Palette generator →

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