#2B208E#2B208E

#2B208E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.4% C 0.170 H 277.0°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#2B208E
RGBrgb(43, 32, 142)
HSLhsl(246, 63%, 34%)
HSVhsv(246, 77%, 56%)
CMYKcmyk(69.7%, 77.5%, 0%, 44.3%)
CIE-LABlab(21.94, 39.81, -58.54)
CIE-LCHlch(21.94, 70.80, 304.22°)
OKLaboklab(34.44% 0.0209 -0.1692)
OKLCHoklch(34.44% 0.17 277)
XYZxyz(6.3937, 3.4990, 25.9244)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B208E #838E20
analogous
#204C8E #2B208E #62208E
triadic
#2B208E #8E2B20 #208E2B
tetradic
#2B208E #8E204C #838E20 #208E62
square
#2B208E #8E204C #838E20 #208E62
split-complementary
#2B208E #8E6220 #4C8E20
monochromatic
#0D092A #1C155C #2B208E #3A2BC0 #5E51D8

Accessibility & contrast

On white

12.35
#2B208E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2B208E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B208E
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B208E#FFFFFF#000000##FFFFFF
##2B208E1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003991
Deuteranopia (green-blind)
#00308C
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2b208e;
/* rgb */ color: rgb(43, 32, 142);
/* oklch */ color: oklch(34.4% 0.170 277.0);
Tailwind
colors: {
  custom: {
    50: '#745eb0',
    500: '#2b208e',
    950: '#000000',
  },
}
SCSS
$custom: #2b208e;
$custom-light: #745eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b208e",
  "rgb": {
    "r": 43,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 246,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34444,
    "c": 0.17046,
    "h": 277
  },
  "luminance": 0.035
}

Semantic roles & 50–950 ramp

primary
#2B208E
secondary
#B0BB4F
accent
#E642D6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #2B208E

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

Preview Lab → · Contrast checker → · Palette generator →

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