#2B2AB8#2B2AB8

#2B2AB8 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.4% C 0.212 H 271.9°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#2B2AB8
RGBrgb(43, 42, 184)
HSLhsl(240, 63%, 44%)
HSVhsv(240, 77%, 72%)
CMYKcmyk(76.6%, 77.2%, 0%, 27.8%)
CIE-LABlab(28.46, 48.08, -73.28)
CIE-LCHlch(28.46, 87.65, 303.27°)
OKLaboklab(40.39% 0.0072 -0.2121)
OKLCHoklch(40.39% 0.212 271.9)
XYZxyz(10.4730, 5.6291, 45.8727)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2AB8 #B7B82A
analogous
#2A70B8 #2B2AB8 #722AB8
triadic
#2B2AB8 #B82B2A #2AB82B
tetradic
#2B2AB8 #B82A70 #B7B82A #2AB872
square
#2B2AB8 #B82A70 #B7B82A #2AB872
split-complementary
#2B2AB8 #B8722A #70B82A
monochromatic
#141354 #1F1F86 #2B2AB8 #4B4AD6 #7C7BE1

Accessibility & contrast

On white

9.88
#2B2AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2B2AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2AB8
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2AB8#FFFFFF#000000##FFFFFF
##2B2AB81.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABC
Deuteranopia (green-blind)
#003CB6
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b2ab8;
/* rgb */ color: rgb(43, 42, 184);
/* oklch */ color: oklch(40.4% 0.212 271.9);
Tailwind
colors: {
  custom: {
    50: '#7d66cf',
    500: '#2b2ab8',
    950: '#000000',
  },
}
SCSS
$custom: #2b2ab8;
$custom-light: #7d66cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2ab8",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 184
  },
  "hsl": {
    "h": 240.423,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.40391,
    "c": 0.21225,
    "h": 271.9
  },
  "luminance": 0.0563
}

Semantic roles & 50–950 ramp

primary
#2B2AB8
secondary
#C9C975
accent
#E642E5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2B2AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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