#2B1E92#2B1E92

#2B1E92 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.6% C 0.177 H 276.8°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#2B1E92
RGBrgb(43, 30, 146)
HSLhsl(247, 66%, 35%)
HSVhsv(247, 79%, 57%)
CMYKcmyk(70.5%, 79.5%, 0%, 42.7%)
CIE-LABlab(22.01, 42.18, -60.92)
CIE-LCHlch(22.01, 74.10, 304.70°)
OKLaboklab(34.62% 0.021 -0.1761)
OKLCHoklch(34.62% 0.177 276.8)
XYZxyz(6.6471, 3.5169, 27.5171)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1E92 #85921E
analogous
#1E4B92 #2B1E92 #651E92
triadic
#2B1E92 #922B1E #1E922B
tetradic
#2B1E92 #921E4B #85921E #1E9265
square
#2B1E92 #921E4B #85921E #1E9265
split-complementary
#2B1E92 #92651E #4B921E
monochromatic
#0D092C #1C145F #2B1E92 #3A28C5 #5F4FDB

Accessibility & contrast

On white

12.33
#2B1E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B1E92
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1E92#FFFFFF#000000##FFFFFF
##2B1E921.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003995
Deuteranopia (green-blind)
#003090
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2b1e92;
/* rgb */ color: rgb(43, 30, 146);
/* oklch */ color: oklch(34.6% 0.177 276.8);
Tailwind
colors: {
  custom: {
    50: '#755db3',
    500: '#2b1e92',
    950: '#000000',
  },
}
SCSS
$custom: #2b1e92;
$custom-light: #755db3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1e92",
  "rgb": {
    "r": 43,
    "g": 30,
    "b": 146
  },
  "hsl": {
    "h": 246.724,
    "s": 65.909,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3462,
    "c": 0.17731,
    "h": 276.8
  },
  "luminance": 0.03517
}

Semantic roles & 50–950 ramp

primary
#2B1E92
secondary
#B1BE4E
accent
#E93FD6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2B1E92

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

Preview Lab → · Contrast checker → · Palette generator →

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