#2B1EAD#2B1EAD

#2B1EAD is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.7% C 0.209 H 273.8°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#2B1EAD
RGBrgb(43, 30, 173)
HSLhsl(245, 70%, 40%)
HSVhsv(245, 83%, 68%)
CMYKcmyk(75.1%, 82.7%, 0%, 32.2%)
CIE-LABlab(25.13, 50.61, -72.22)
CIE-LCHlch(25.13, 88.19, 305.02°)
OKLaboklab(37.71% 0.0138 -0.2089)
OKLCHoklch(37.71% 0.209 273.8)
XYZxyz(9.0009, 4.4583, 39.9132)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1EAD #A0AD1E
analogous
#1E58AD #2B1EAD #731EAD
triadic
#2B1EAD #AD2B1E #1EAD2B
tetradic
#2B1EAD #AD1E58 #A0AD1E #1EAD73
square
#2B1EAD #AD1E58 #A0AD1E #1EAD73
split-complementary
#2B1EAD #AD731E #58AD1E
monochromatic
#110C45 #1E1579 #2B1EAD #3D2EDB #6E62E4

Accessibility & contrast

On white

11.10
#2B1EAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2B1EAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1EAD
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1EAD#FFFFFF#000000##FFFFFF
##2B1EAD1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B1
Deuteranopia (green-blind)
#0035AB
Tritanopia (blue-blind)
#004C67
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b1ead;
/* rgb */ color: rgb(43, 30, 173);
/* oklch */ color: oklch(37.7% 0.209 273.8);
Tailwind
colors: {
  custom: {
    50: '#7b5fc7',
    500: '#2b1ead',
    950: '#000000',
  },
}
SCSS
$custom: #2b1ead;
$custom-light: #7b5fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1ead",
  "rgb": {
    "r": 43,
    "g": 30,
    "b": 173
  },
  "hsl": {
    "h": 245.455,
    "s": 70.443,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37705,
    "c": 0.20932,
    "h": 273.8
  },
  "luminance": 0.04459
}

Semantic roles & 50–950 ramp

primary
#2B1EAD
secondary
#BFC85E
accent
#ED3BDD
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2B1EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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