#2B208D#2B208D

#2B208D is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.169 H 277.2°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#2B208D
RGBrgb(43, 32, 141)
HSLhsl(246, 63%, 34%)
HSVhsv(246, 77%, 55%)
CMYKcmyk(69.5%, 77.3%, 0%, 44.7%)
CIE-LABlab(21.83, 39.48, -58.10)
CIE-LCHlch(21.83, 70.25, 304.20°)
OKLaboklab(34.34% 0.0212 -0.1679)
OKLCHoklch(34.34% 0.169 277.2)
XYZxyz(6.3189, 3.4691, 25.5307)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B208D #828D20
analogous
#204C8D #2B208D #62208D
triadic
#2B208D #8D2B20 #208D2B
tetradic
#2B208D #8D204C #828D20 #208D62
square
#2B208D #8D204C #828D20 #208D62
split-complementary
#2B208D #8D6220 #4C8D20
monochromatic
#0D0929 #1C155B #2B208D #3A2BBF #5E50D7

Accessibility & contrast

On white

12.40
#2B208D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2B208D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B208D
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B208D#FFFFFF#000000##FFFFFF
##2B208D1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003990
Deuteranopia (green-blind)
#00308B
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2b208d;
/* rgb */ color: rgb(43, 32, 141);
/* oklch */ color: oklch(34.3% 0.169 277.2);
Tailwind
colors: {
  custom: {
    50: '#735eaf',
    500: '#2b208d',
    950: '#000000',
  },
}
SCSS
$custom: #2b208d;
$custom-light: #735eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b208d",
  "rgb": {
    "r": 43,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 246.055,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34336,
    "c": 0.16921,
    "h": 277.2
  },
  "luminance": 0.0347
}

Semantic roles & 50–950 ramp

primary
#2B208D
secondary
#B0BA4E
accent
#E642D5
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#090411
muted
#7B7980

Preview Lab

Preview with #2B208D

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

Preview Lab → · Contrast checker → · Palette generator →

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