#2B209A#2B209A

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

Color values

HEX#2B209A
RGBrgb(43, 32, 154)
HSLhsl(245, 66%, 36%)
HSVhsv(245, 79%, 60%)
CMYKcmyk(72.1%, 79.2%, 0%, 39.6%)
CIE-LABlab(23.27, 43.70, -63.77)
CIE-LCHlch(23.27, 77.31, 304.42°)
OKLaboklab(35.77% 0.018 -0.1844)
OKLCHoklch(35.77% 0.185 275.6)
XYZxyz(7.3436, 3.8790, 30.9273)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B209A #8F9A20
analogous
#20529A #2B209A #68209A
triadic
#2B209A #9A2B20 #209A2B
tetradic
#2B209A #9A2052 #8F9A20 #209A68
square
#2B209A #9A2052 #8F9A20 #209A68
split-complementary
#2B209A #9A6820 #529A20
monochromatic
#0F0B35 #1D1567 #2B209A #392BCD #6458DC

Accessibility & contrast

On white

11.82
#2B209A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B209A
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B209A#FFFFFF#000000##FFFFFF
##2B209A1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.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: #2b209a;
/* rgb */ color: rgb(43, 32, 154);
/* oklch */ color: oklch(35.8% 0.185 275.6);
Tailwind
colors: {
  custom: {
    50: '#765eb9',
    500: '#2b209a',
    950: '#000000',
  },
}
SCSS
$custom: #2b209a;
$custom-light: #765eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b209a",
  "rgb": {
    "r": 43,
    "g": 32,
    "b": 154
  },
  "hsl": {
    "h": 245.41,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35768,
    "c": 0.18524,
    "h": 275.6
  },
  "luminance": 0.0388
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B209A

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

Preview Lab → · Contrast checker → · Palette generator →

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