#2B2092#2B2092

#2B2092 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.9% C 0.175 H 276.5°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#2B2092
RGBrgb(43, 32, 146)
HSLhsl(246, 64%, 35%)
HSVhsv(246, 78%, 57%)
CMYKcmyk(70.5%, 78.1%, 0%, 42.7%)
CIE-LABlab(22.38, 41.12, -60.31)
CIE-LCHlch(22.38, 72.99, 304.29°)
OKLaboklab(34.88% 0.0199 -0.1743)
OKLCHoklch(34.88% 0.175 276.5)
XYZxyz(6.6994, 3.6213, 27.5345)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2092 #879220
analogous
#204E92 #2B2092 #642092
triadic
#2B2092 #922B20 #20922B
tetradic
#2B2092 #92204E #879220 #209264
square
#2B2092 #92204E #879220 #209264
split-complementary
#2B2092 #926420 #4E9220
monochromatic
#0D0A2E #1C1560 #2B2092 #3A2BC4 #6053D9

Accessibility & contrast

On white

12.18
#2B2092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2B2092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2092
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2092#FFFFFF#000000##FFFFFF
##2B20921.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A95
Deuteranopia (green-blind)
#003090
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2b2092;
/* rgb */ color: rgb(43, 32, 146);
/* oklch */ color: oklch(34.9% 0.175 276.5);
Tailwind
colors: {
  custom: {
    50: '#755eb3',
    500: '#2b2092',
    950: '#000000',
  },
}
SCSS
$custom: #2b2092;
$custom-light: #755eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2092",
  "rgb": {
    "r": 43,
    "g": 32,
    "b": 146
  },
  "hsl": {
    "h": 245.789,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34881,
    "c": 0.17544,
    "h": 276.5
  },
  "luminance": 0.03622
}

Semantic roles & 50–950 ramp

primary
#2B2092
secondary
#B2BD51
accent
#E741D7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2B2092

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

Preview Lab → · Contrast checker → · Palette generator →

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