#2B2DAC#2B2DAC

#2B2DAC is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.5% C 0.195 H 272.4°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#2B2DAC
RGBrgb(43, 45, 172)
HSLhsl(239, 60%, 42%)
HSVhsv(239, 75%, 67%)
CMYKcmyk(75%, 73.8%, 0%, 32.5%)
CIE-LABlab(27.76, 42.43, -67.27)
CIE-LCHlch(27.76, 79.54, 302.24°)
OKLaboklab(39.52% 0.0081 -0.1947)
OKLCHoklch(39.52% 0.195 272.4)
XYZxyz(9.3785, 5.3679, 39.5636)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2DAC #ACAA2B
analogous
#2B6DAC #2B2DAC #6A2BAC
triadic
#2B2DAC #AC2B2D #2DAC2B
tetradic
#2B2DAC #AC2B6D #ACAA2B #2BAC6A
square
#2B2DAC #AC2B6D #ACAA2B #2BAC6A
split-complementary
#2B2DAC #AC6A2B #6DAC2B
monochromatic
#13134A #1F207B #2B2DAC #4446D0 #7577DC

Accessibility & contrast

On white

10.13
#2B2DAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2B2DAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2DAC
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2DAC#FFFFFF#000000##FFFFFF
##2B2DAC1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B0
Deuteranopia (green-blind)
#003BAA
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b2dac;
/* rgb */ color: rgb(43, 45, 172);
/* oklch */ color: oklch(39.5% 0.195 272.4);
Tailwind
colors: {
  custom: {
    50: '#7a67c6',
    500: '#2b2dac',
    950: '#000000',
  },
}
SCSS
$custom: #2b2dac;
$custom-light: #7a67c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2dac",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 172
  },
  "hsl": {
    "h": 239.07,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.39516,
    "c": 0.19485,
    "h": 272.4
  },
  "luminance": 0.05369
}

Semantic roles & 50–950 ramp

primary
#2B2DAC
secondary
#C4C36F
accent
#E145E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B2DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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