#2B2392#2B2392

#2B2392 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.3% C 0.172 H 276.1°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#2B2392
RGBrgb(43, 35, 146)
HSLhsl(244, 61%, 35%)
HSVhsv(244, 76%, 57%)
CMYKcmyk(70.5%, 76%, 0%, 42.7%)
CIE-LABlab(22.97, 39.45, -59.33)
CIE-LCHlch(22.97, 71.25, 303.62°)
OKLaboklab(35.3% 0.0183 -0.1715)
OKLCHoklch(35.3% 0.172 276.1)
XYZxyz(6.7839, 3.7904, 27.5627)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2392 #8A9223
analogous
#235392 #2B2392 #622392
triadic
#2B2392 #922B23 #23922B
tetradic
#2B2392 #922353 #8A9223 #239262
square
#2B2392 #922353 #8A9223 #239262
split-complementary
#2B2392 #926223 #539223
monochromatic
#0E0B2F #1C1761 #2B2392 #3A2FC3 #6158D7

Accessibility & contrast

On white

11.94
#2B2392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2B2392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2392
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2392#FFFFFF#000000##FFFFFF
##2B23921.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C95
Deuteranopia (green-blind)
#003290
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b2392;
/* rgb */ color: rgb(43, 35, 146);
/* oklch */ color: oklch(35.3% 0.172 276.1);
Tailwind
colors: {
  custom: {
    50: '#7460b3',
    500: '#2b2392',
    950: '#000000',
  },
}
SCSS
$custom: #2b2392;
$custom-light: #7460b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2392",
  "rgb": {
    "r": 43,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 244.324,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35296,
    "c": 0.17247,
    "h": 276.1
  },
  "luminance": 0.03791
}

Semantic roles & 50–950 ramp

primary
#2B2392
secondary
#B4BB55
accent
#E443D9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2B2392

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

Preview Lab → · Contrast checker → · Palette generator →

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