#2B2083#2B2083

#2B2083 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.156 H 278.6°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#2B2083
RGBrgb(43, 32, 131)
HSLhsl(247, 61%, 32%)
HSVhsv(247, 76%, 51%)
CMYKcmyk(67.2%, 75.6%, 0%, 48.6%)
CIE-LABlab(20.77, 36.17, -53.58)
CIE-LCHlch(20.77, 64.65, 304.02°)
OKLaboklab(33.27% 0.0235 -0.1547)
OKLCHoklch(33.27% 0.156 278.6)
XYZxyz(5.6082, 3.1848, 21.7875)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2083 #788320
analogous
#204683 #2B2083 #5D2083
triadic
#2B2083 #832B20 #20832B
tetradic
#2B2083 #832046 #788320 #20835D
square
#2B2083 #832046 #788320 #20835D
split-complementary
#2B2083 #835D20 #468320
monochromatic
#0B0821 #1B1452 #2B2083 #3B2CB4 #5A4AD3

Accessibility & contrast

On white

12.83
#2B2083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2B2083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2083
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2083#FFFFFF#000000##FFFFFF
##2B20831.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003686
Deuteranopia (green-blind)
#002E81
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2b2083;
/* rgb */ color: rgb(43, 32, 131);
/* oklch */ color: oklch(33.3% 0.156 278.6);
Tailwind
colors: {
  custom: {
    50: '#715da8',
    500: '#2b2083',
    950: '#000000',
  },
}
SCSS
$custom: #2b2083;
$custom-light: #715da8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2083",
  "rgb": {
    "r": 43,
    "g": 32,
    "b": 131
  },
  "hsl": {
    "h": 246.667,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33266,
    "c": 0.15648,
    "h": 278.6
  },
  "luminance": 0.03185
}

Semantic roles & 50–950 ramp

primary
#2B2083
secondary
#AAB649
accent
#E444D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2B2083

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

Preview Lab → · Contrast checker → · Palette generator →

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