#2B1E90#2B1E90

#2B1E90 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.4% C 0.175 H 277.1°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#2B1E90
RGBrgb(43, 30, 144)
HSLhsl(247, 66%, 34%)
HSVhsv(247, 79%, 56%)
CMYKcmyk(70.1%, 79.2%, 0%, 43.5%)
CIE-LABlab(21.78, 41.54, -60.05)
CIE-LCHlch(21.78, 73.02, 304.68°)
OKLaboklab(34.4% 0.0215 -0.1735)
OKLCHoklch(34.4% 0.175 277.1)
XYZxyz(6.4929, 3.4552, 26.7049)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1E90 #83901E
analogous
#1E4A90 #2B1E90 #641E90
triadic
#2B1E90 #902B1E #1E902B
tetradic
#2B1E90 #901E4A #83901E #1E9064
square
#2B1E90 #901E4A #83901E #1E9064
split-complementary
#2B1E90 #90641E #4A901E
monochromatic
#0D092B #1C135D #2B1E90 #3A29C3 #5E4EDA

Accessibility & contrast

On white

12.42
#2B1E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2B1E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1E90
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1E90#FFFFFF#000000##FFFFFF
##2B1E901.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#002F8E
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2b1e90;
/* rgb */ color: rgb(43, 30, 144);
/* oklch */ color: oklch(34.4% 0.175 277.1);
Tailwind
colors: {
  custom: {
    50: '#745db2',
    500: '#2b1e90',
    950: '#000000',
  },
}
SCSS
$custom: #2b1e90;
$custom-light: #745db2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1e90",
  "rgb": {
    "r": 43,
    "g": 30,
    "b": 144
  },
  "hsl": {
    "h": 246.842,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34398,
    "c": 0.17486,
    "h": 277.1
  },
  "luminance": 0.03456
}

Semantic roles & 50–950 ramp

primary
#2B1E90
secondary
#B0BD4D
accent
#E83FD5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2B1E90

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

Preview Lab → · Contrast checker → · Palette generator →

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