#2B209E#2B209E

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

Color values

HEX#2B209E
RGBrgb(43, 32, 158)
HSLhsl(245, 66%, 37%)
HSVhsv(245, 80%, 62%)
CMYKcmyk(72.8%, 79.7%, 0%, 38%)
CIE-LABlab(23.72, 44.98, -65.47)
CIE-LCHlch(23.72, 79.43, 304.49°)
OKLaboklab(36.22% 0.0169 -0.1893)
OKLCHoklch(36.22% 0.19 275.1)
XYZxyz(7.6823, 4.0145, 32.7111)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B209E #939E20
analogous
#20549E #2B209E #6A209E
triadic
#2B209E #9E2B20 #209E2B
tetradic
#2B209E #9E2054 #939E20 #209E6A
square
#2B209E #9E2054 #939E20 #209E6A
split-complementary
#2B209E #9E6A20 #549E20
monochromatic
#0F0B38 #1D166B #2B209E #392AD1 #665BDE

Accessibility & contrast

On white

11.65
#2B209E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B209E
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B209E#FFFFFF#000000##FFFFFF
##2B209E1.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b209e;
/* rgb */ color: rgb(43, 32, 158);
/* oklch */ color: oklch(36.2% 0.190 275.1);
Tailwind
colors: {
  custom: {
    50: '#775fbc',
    500: '#2b209e',
    950: '#000000',
  },
}
SCSS
$custom: #2b209e;
$custom-light: #775fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b209e",
  "rgb": {
    "r": 43,
    "g": 32,
    "b": 158
  },
  "hsl": {
    "h": 245.238,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36216,
    "c": 0.19007,
    "h": 275.1
  },
  "luminance": 0.04015
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B209E

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

Preview Lab → · Contrast checker → · Palette generator →

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