#2B1C9F#2B1C9F

#2B1C9F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.9% C 0.195 H 275.4°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#2B1C9F
RGBrgb(43, 28, 159)
HSLhsl(247, 70%, 37%)
HSVhsv(247, 82%, 62%)
CMYKcmyk(73%, 82.4%, 0%, 37.6%)
CIE-LABlab(23.16, 47.26, -67.01)
CIE-LCHlch(23.16, 82.00, 305.19°)
OKLaboklab(35.86% 0.0183 -0.1937)
OKLCHoklch(35.86% 0.195 275.4)
XYZxyz(7.6675, 3.8466, 33.1325)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1C9F #909F1C
analogous
#1C4F9F #2B1C9F #6D1C9F
triadic
#2B1C9F #9F2B1C #1C9F2B
tetradic
#2B1C9F #9F1C4F #909F1C #1C9F6D
square
#2B1C9F #9F1C4F #909F1C #1C9F6D
split-complementary
#2B1C9F #9F6D1C #4F9F1C
monochromatic
#0F0A37 #1D136B #2B1C9F #3925D3 #6554E1

Accessibility & contrast

On white

11.87
#2B1C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B1C9F
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1C9F#FFFFFF#000000##FFFFFF
##2B1C9F1.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#00319D
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b1c9f;
/* rgb */ color: rgb(43, 28, 159);
/* oklch */ color: oklch(35.9% 0.195 275.4);
Tailwind
colors: {
  custom: {
    50: '#785dbd',
    500: '#2b1c9f',
    950: '#000000',
  },
}
SCSS
$custom: #2b1c9f;
$custom-light: #785dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1c9f",
  "rgb": {
    "r": 43,
    "g": 28,
    "b": 159
  },
  "hsl": {
    "h": 246.87,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3586,
    "c": 0.19459,
    "h": 275.4
  },
  "luminance": 0.03847
}

Semantic roles & 50–950 ramp

primary
#2B1C9F
secondary
#B7C453
accent
#ED3BD8
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2B1C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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