#2A209C#2A209C

#2A209C is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.9% C 0.188 H 274.9°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#2A209C
RGBrgb(42, 32, 156)
HSLhsl(245, 66%, 37%)
HSVhsv(245, 79%, 61%)
CMYKcmyk(73.1%, 79.5%, 0%, 38.8%)
CIE-LABlab(23.42, 44.25, -64.74)
CIE-LCHlch(23.42, 78.42, 304.36°)
OKLaboklab(35.92% 0.0161 -0.1872)
OKLCHoklch(35.92% 0.188 274.9)
XYZxyz(7.4701, 3.9248, 31.8099)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A209C #929C20
analogous
#20549C #2A209C #68209C
triadic
#2A209C #9C2A20 #209C2A
tetradic
#2A209C #9C2054 #929C20 #209C68
square
#2A209C #9C2054 #929C20 #209C68
split-complementary
#2A209C #9C6820 #549C20
monochromatic
#0F0B36 #1C1669 #2A209C #382ACF #6459DD

Accessibility & contrast

On white

11.76
#2A209C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2A209C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A209C
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A209C#FFFFFF#000000##FFFFFF
##2A209C1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9F
Deuteranopia (green-blind)
#00329A
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2a209c;
/* rgb */ color: rgb(42, 32, 156);
/* oklch */ color: oklch(35.9% 0.188 274.9);
Tailwind
colors: {
  custom: {
    50: '#775fbb',
    500: '#2a209c',
    950: '#000000',
  },
}
SCSS
$custom: #2a209c;
$custom-light: #775fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a209c",
  "rgb": {
    "r": 42,
    "g": 32,
    "b": 156
  },
  "hsl": {
    "h": 244.839,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35923,
    "c": 0.18791,
    "h": 274.9
  },
  "luminance": 0.03926
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A209C

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

Preview Lab → · Contrast checker → · Palette generator →

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