#2B2CAB#2B2CAB

#2B2CAB is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.195 H 272.6°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#2B2CAB
RGBrgb(43, 44, 171)
HSLhsl(240, 60%, 42%)
HSVhsv(240, 75%, 67%)
CMYKcmyk(74.9%, 74.3%, 0%, 32.9%)
CIE-LABlab(27.45, 42.67, -67.18)
CIE-LCHlch(27.45, 79.59, 302.42°)
OKLaboklab(39.26% 0.0088 -0.1944)
OKLCHoklch(39.26% 0.195 272.6)
XYZxyz(9.2452, 5.2543, 39.0471)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2CAB #ABAA2B
analogous
#2B6CAB #2B2CAB #6A2BAB
triadic
#2B2CAB #AB2B2C #2CAB2B
tetradic
#2B2CAB #AB2B6C #ABAA2B #2BAB6A
square
#2B2CAB #AB2B6C #ABAA2B #2BAB6A
split-complementary
#2B2CAB #AB6A2B #6CAB2B
monochromatic
#121349 #1F1F7A #2B2CAB #4344D0 #7475DC

Accessibility & contrast

On white

10.24
#2B2CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2B2CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2CAB
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2CAB#FFFFFF#000000##FFFFFF
##2B2CAB1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AF
Deuteranopia (green-blind)
#003AA9
Tritanopia (blue-blind)
#005169
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b2cab;
/* rgb */ color: rgb(43, 44, 171);
/* oklch */ color: oklch(39.3% 0.195 272.6);
Tailwind
colors: {
  custom: {
    50: '#7967c5',
    500: '#2b2cab',
    950: '#000000',
  },
}
SCSS
$custom: #2b2cab;
$custom-light: #7967c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2cab",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 239.531,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39263,
    "c": 0.19462,
    "h": 272.6
  },
  "luminance": 0.05255
}

Semantic roles & 50–950 ramp

primary
#2B2CAB
secondary
#C4C36E
accent
#E245E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B2CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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