#2B1A90#2B1A90

#2B1A90 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.9% C 0.178 H 277.6°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#2B1A90
RGBrgb(43, 26, 144)
HSLhsl(249, 69%, 33%)
HSVhsv(249, 82%, 56%)
CMYKcmyk(70.1%, 81.9%, 0%, 43.5%)
CIE-LABlab(21.08, 43.58, -61.22)
CIE-LCHlch(21.08, 75.14, 305.45°)
OKLaboklab(33.91% 0.0235 -0.1769)
OKLCHoklch(33.91% 0.178 277.6)
XYZxyz(6.3981, 3.2654, 26.6733)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1A90 #7F901A
analogous
#1A4490 #2B1A90 #661A90
triadic
#2B1A90 #902B1A #1A902B
tetradic
#2B1A90 #901A44 #7F901A #1A9066
square
#2B1A90 #901A44 #7F901A #1A9066
split-complementary
#2B1A90 #90661A #44901A
monochromatic
#0C0728 #1C115C #2B1A90 #3A23C4 #5C47DE

Accessibility & contrast

On white

12.70
#2B1A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2B1A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1A90
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1A90#FFFFFF#000000##FFFFFF
##2B1A901.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003793
Deuteranopia (green-blind)
#002E8E
Tritanopia (blue-blind)
#003E56
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2b1a90;
/* rgb */ color: rgb(43, 26, 144);
/* oklch */ color: oklch(33.9% 0.178 277.6);
Tailwind
colors: {
  custom: {
    50: '#755bb2',
    500: '#2b1a90',
    950: '#000000',
  },
}
SCSS
$custom: #2b1a90;
$custom-light: #755bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1a90",
  "rgb": {
    "r": 43,
    "g": 26,
    "b": 144
  },
  "hsl": {
    "h": 248.644,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33907,
    "c": 0.17842,
    "h": 277.6
  },
  "luminance": 0.03266
}

Semantic roles & 50–950 ramp

primary
#2B1A90
secondary
#AEBF47
accent
#EC3CD3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2B1A90

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

Preview Lab → · Contrast checker → · Palette generator →

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