#2B2AB7#2B2AB7

#2B2AB7 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.3% C 0.211 H 272.0°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#2B2AB7
RGBrgb(43, 42, 183)
HSLhsl(240, 63%, 44%)
HSVhsv(240, 77%, 72%)
CMYKcmyk(76.5%, 77%, 0%, 28.2%)
CIE-LABlab(28.35, 47.76, -72.87)
CIE-LCHlch(28.35, 87.13, 303.24°)
OKLaboklab(40.28% 0.0074 -0.2109)
OKLCHoklch(40.28% 0.211 272)
XYZxyz(10.3686, 5.5873, 45.3226)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2AB7 #B6B72A
analogous
#2A6FB7 #2B2AB7 #722AB7
triadic
#2B2AB7 #B72B2A #2AB72B
tetradic
#2B2AB7 #B72A6F #B6B72A #2AB772
square
#2B2AB7 #B72A6F #B6B72A #2AB772
split-complementary
#2B2AB7 #B7722A #6FB72A
monochromatic
#141353 #1F1F85 #2B2AB7 #4A49D5 #7B7BE1

Accessibility & contrast

On white

9.92
#2B2AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2B2AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2AB7
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2AB7#FFFFFF#000000##FFFFFF
##2B2AB71.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABB
Deuteranopia (green-blind)
#003CB5
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b2ab7;
/* rgb */ color: rgb(43, 42, 183);
/* oklch */ color: oklch(40.3% 0.211 272.0);
Tailwind
colors: {
  custom: {
    50: '#7d66ce',
    500: '#2b2ab7',
    950: '#000000',
  },
}
SCSS
$custom: #2b2ab7;
$custom-light: #7d66ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2ab7",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 240.426,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40281,
    "c": 0.21107,
    "h": 272
  },
  "luminance": 0.05588
}

Semantic roles & 50–950 ramp

primary
#2B2AB7
secondary
#C8C974
accent
#E642E5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2B2AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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