#2B1D75#2B1D75

#2B1D75 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.142 H 281.7°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#2B1D75
RGBrgb(43, 29, 117)
HSLhsl(250, 60%, 29%)
HSVhsv(250, 75%, 46%)
CMYKcmyk(63.2%, 75.2%, 0%, 54.1%)
CIE-LABlab(18.70, 33.25, -48.08)
CIE-LCHlch(18.70, 58.46, 304.67°)
OKLaboklab(31.36% 0.0288 -0.1386)
OKLCHoklch(31.36% 0.142 281.7)
XYZxyz(4.6455, 2.6763, 17.0980)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1D75 #67751D
analogous
#1D3B75 #2B1D75 #571D75
triadic
#2B1D75 #752B1D #1D752B
tetradic
#2B1D75 #751D3B #67751D #1D7557
square
#2B1D75 #751D3B #67751D #1D7557
split-complementary
#2B1D75 #75571D #3B751D
monochromatic
#090619 #191144 #2B1D75 #3D29A6 #553DCF

Accessibility & contrast

On white

13.68
#2B1D75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#2B1D75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1D75
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1D75#FFFFFF#000000##FFFFFF
##2B1D751.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003078
Deuteranopia (green-blind)
#002A73
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2b1d75;
/* rgb */ color: rgb(43, 29, 117);
/* oklch */ color: oklch(31.4% 0.142 281.7);
Tailwind
colors: {
  custom: {
    50: '#6e5b9e',
    500: '#2b1d75',
    950: '#000000',
  },
}
SCSS
$custom: #2b1d75;
$custom-light: #6e5b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1d75",
  "rgb": {
    "r": 43,
    "g": 29,
    "b": 117
  },
  "hsl": {
    "h": 249.545,
    "s": 60.274,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3136,
    "c": 0.14155,
    "h": 281.7
  },
  "luminance": 0.02677
}

Semantic roles & 50–950 ramp

primary
#2B1D75
secondary
#99A945
accent
#E344CA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2B1D75

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

Preview Lab → · Contrast checker → · Palette generator →

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