#2A209E#2A209E

#2A209E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.1% C 0.190 H 274.7°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#2A209E
RGBrgb(42, 32, 158)
HSLhsl(245, 66%, 37%)
HSVhsv(245, 80%, 62%)
CMYKcmyk(73.4%, 79.7%, 0%, 38%)
CIE-LABlab(23.65, 44.89, -65.59)
CIE-LCHlch(23.65, 79.48, 304.39°)
OKLaboklab(36.15% 0.0156 -0.1897)
OKLCHoklch(36.15% 0.19 274.7)
XYZxyz(7.6409, 3.9931, 32.7092)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A209E #949E20
analogous
#20559E #2A209E #69209E
triadic
#2A209E #9E2A20 #209E2A
tetradic
#2A209E #9E2055 #949E20 #209E69
square
#2A209E #9E2055 #949E20 #209E69
split-complementary
#2A209E #9E6920 #559E20
monochromatic
#0F0B38 #1C166B #2A209E #382AD1 #655BDE

Accessibility & contrast

On white

11.67
#2A209E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2A209E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A209E
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A209E#FFFFFF#000000##FFFFFF
##2A209E1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA2
Deuteranopia (green-blind)
#00329C
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2a209e;
/* rgb */ color: rgb(42, 32, 158);
/* oklch */ color: oklch(36.1% 0.190 274.7);
Tailwind
colors: {
  custom: {
    50: '#775fbc',
    500: '#2a209e',
    950: '#000000',
  },
}
SCSS
$custom: #2a209e;
$custom-light: #775fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a209e",
  "rgb": {
    "r": 42,
    "g": 32,
    "b": 158
  },
  "hsl": {
    "h": 244.762,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36149,
    "c": 0.19032,
    "h": 274.7
  },
  "luminance": 0.03994
}

Semantic roles & 50–950 ramp

primary
#2A209E
secondary
#B9C258
accent
#E93FDC
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2A209E

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

Preview Lab → · Contrast checker → · Palette generator →

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