#2B1E9E#2B1E9E

#2B1E9E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 36.0% C 0.192 H 275.3°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#2B1E9E
RGBrgb(43, 30, 158)
HSLhsl(246, 68%, 37%)
HSVhsv(246, 81%, 62%)
CMYKcmyk(72.8%, 81%, 0%, 38%)
CIE-LABlab(23.37, 45.99, -66.04)
CIE-LCHlch(23.37, 80.48, 304.85°)
OKLaboklab(35.97% 0.0178 -0.191)
OKLCHoklch(35.97% 0.192 275.3)
XYZxyz(7.6301, 3.9100, 32.6937)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1E9E #919E1E
analogous
#1E519E #2B1E9E #6B1E9E
triadic
#2B1E9E #9E2B1E #1E9E2B
tetradic
#2B1E9E #9E1E51 #919E1E #1E9E6B
square
#2B1E9E #9E1E51 #919E1E #1E9E6B
split-complementary
#2B1E9E #9E6B1E #519E1E
monochromatic
#0F0A37 #1D146B #2B1E9E #3928D1 #6557DF

Accessibility & contrast

On white

11.78
#2B1E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2B1E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1E9E
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1E9E#FFFFFF#000000##FFFFFF
##2B1E9E1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA2
Deuteranopia (green-blind)
#00329C
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2b1e9e;
/* rgb */ color: rgb(43, 30, 158);
/* oklch */ color: oklch(36.0% 0.192 275.3);
Tailwind
colors: {
  custom: {
    50: '#785ebc',
    500: '#2b1e9e',
    950: '#000000',
  },
}
SCSS
$custom: #2b1e9e;
$custom-light: #785ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1e9e",
  "rgb": {
    "r": 43,
    "g": 30,
    "b": 158
  },
  "hsl": {
    "h": 246.094,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35974,
    "c": 0.19179,
    "h": 275.3
  },
  "luminance": 0.03911
}

Semantic roles & 50–950 ramp

primary
#2B1E9E
secondary
#B8C355
accent
#EB3DD9
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2B1E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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