#2B2492#2B2492

#2B2492 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.4% C 0.171 H 275.9°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#2B2492
RGBrgb(43, 36, 146)
HSLhsl(244, 60%, 36%)
HSVhsv(244, 75%, 57%)
CMYKcmyk(70.5%, 75.3%, 0%, 42.7%)
CIE-LABlab(23.17, 38.87, -59.00)
CIE-LCHlch(23.17, 70.66, 303.38°)
OKLaboklab(35.44% 0.0177 -0.1705)
OKLCHoklch(35.44% 0.171 275.9)
XYZxyz(6.8137, 3.8500, 27.5726)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2492 #8B9224
analogous
#245492 #2B2492 #622492
triadic
#2B2492 #922B24 #24922B
tetradic
#2B2492 #922454 #8B9224 #249262
square
#2B2492 #922454 #8B9224 #249262
split-complementary
#2B2492 #926224 #549224
monochromatic
#0E0C30 #1D1861 #2B2492 #3930C3 #625AD6

Accessibility & contrast

On white

11.86
#2B2492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2B2492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2492
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2492#FFFFFF#000000##FFFFFF
##2B24921.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.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: #2b2492;
/* rgb */ color: rgb(43, 36, 146);
/* oklch */ color: oklch(35.4% 0.171 275.9);
Tailwind
colors: {
  custom: {
    50: '#7460b3',
    500: '#2b2492',
    950: '#000000',
  },
}
SCSS
$custom: #2b2492;
$custom-light: #7460b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2492",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 243.818,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3544,
    "c": 0.17145,
    "h": 275.9
  },
  "luminance": 0.03851
}

Semantic roles & 50–950 ramp

primary
#2B2492
secondary
#B5BB57
accent
#E444D9
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2B2492

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

Preview Lab → · Contrast checker → · Palette generator →

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