#2B208A#2B208A

#2B208A is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.165 H 277.6°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#2B208A
RGBrgb(43, 32, 138)
HSLhsl(246, 62%, 33%)
HSVhsv(246, 77%, 54%)
CMYKcmyk(68.8%, 76.8%, 0%, 45.9%)
CIE-LABlab(21.51, 38.49, -56.76)
CIE-LCHlch(21.51, 68.58, 304.14°)
OKLaboklab(34.01% 0.0219 -0.164)
OKLCHoklch(34.01% 0.165 277.6)
XYZxyz(6.0987, 3.3811, 24.3710)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B208A #7F8A20
analogous
#204A8A #2B208A #60208A
triadic
#2B208A #8A2B20 #208A2B
tetradic
#2B208A #8A204A #7F8A20 #208A60
square
#2B208A #8A204A #7F8A20 #208A60
split-complementary
#2B208A #8A6020 #4A8A20
monochromatic
#0C0927 #1C1458 #2B208A #3A2CBC #5C4ED6

Accessibility & contrast

On white

12.53
#2B208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2B208A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B208A
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B208A#FFFFFF#000000##FFFFFF
##2B208A1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388D
Deuteranopia (green-blind)
#002F88
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2b208a;
/* rgb */ color: rgb(43, 32, 138);
/* oklch */ color: oklch(34.0% 0.165 277.6);
Tailwind
colors: {
  custom: {
    50: '#735ead',
    500: '#2b208a',
    950: '#000000',
  },
}
SCSS
$custom: #2b208a;
$custom-light: #735ead;
$custom-dark: #000000;
JSON
{
  "hex": "#2b208a",
  "rgb": {
    "r": 43,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 246.226,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34012,
    "c": 0.16542,
    "h": 277.6
  },
  "luminance": 0.03382
}

Semantic roles & 50–950 ramp

primary
#2B208A
secondary
#AEB94D
accent
#E542D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2B208A

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

Preview Lab → · Contrast checker → · Palette generator →

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