#2B1EB3#2B1EB3

#2B1EB3 is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.4% C 0.216 H 273.2°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#2B1EB3
RGBrgb(43, 30, 179)
HSLhsl(245, 71%, 41%)
HSVhsv(245, 83%, 70%)
CMYKcmyk(76%, 83.2%, 0%, 29.8%)
CIE-LABlab(25.85, 52.42, -74.62)
CIE-LCHlch(25.85, 91.20, 305.09°)
OKLaboklab(38.41% 0.0122 -0.2158)
OKLCHoklch(38.41% 0.216 273.2)
XYZxyz(9.5945, 4.6958, 43.0398)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1EB3 #A6B31E
analogous
#1E5BB3 #2B1EB3 #751EB3
triadic
#2B1EB3 #B32B1E #1EB32B
tetradic
#2B1EB3 #B31E5B #A6B31E #1EB375
square
#2B1EB3 #B31E5B #A6B31E #1EB375
split-complementary
#2B1EB3 #B3751E #5BB31E
monochromatic
#120C4A #1E157F #2B1EB3 #4132DD #7166E5

Accessibility & contrast

On white

10.83
#2B1EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2B1EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1EB3
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1EB3#FFFFFF#000000##FFFFFF
##2B1EB31.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B7
Deuteranopia (green-blind)
#0036B1
Tritanopia (blue-blind)
#004E6B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b1eb3;
/* rgb */ color: rgb(43, 30, 179);
/* oklch */ color: oklch(38.4% 0.216 273.2);
Tailwind
colors: {
  custom: {
    50: '#7d5fcb',
    500: '#2b1eb3',
    950: '#000000',
  },
}
SCSS
$custom: #2b1eb3;
$custom-light: #7d5fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1eb3",
  "rgb": {
    "r": 43,
    "g": 30,
    "b": 179
  },
  "hsl": {
    "h": 245.235,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38408,
    "c": 0.21618,
    "h": 273.2
  },
  "luminance": 0.04697
}

Semantic roles & 50–950 ramp

primary
#2B1EB3
secondary
#C1CB62
accent
#EE3ADE
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #2B1EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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