#2B2CAC#2B2CAC

#2B2CAC is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.4% C 0.196 H 272.5°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#2B2CAC
RGBrgb(43, 44, 172)
HSLhsl(240, 60%, 42%)
HSVhsv(240, 75%, 67%)
CMYKcmyk(75%, 74.4%, 0%, 32.5%)
CIE-LABlab(27.55, 43.01, -67.61)
CIE-LCHlch(27.55, 80.13, 302.46°)
OKLaboklab(39.37% 0.0086 -0.1957)
OKLCHoklch(39.37% 0.196 272.5)
XYZxyz(9.3408, 5.2925, 39.5510)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2CAC #ACAB2B
analogous
#2B6DAC #2B2CAC #6B2BAC
triadic
#2B2CAC #AC2B2C #2CAC2B
tetradic
#2B2CAC #AC2B6D #ACAB2B #2BAC6B
square
#2B2CAC #AC2B6D #ACAB2B #2BAC6B
split-complementary
#2B2CAC #AC6B2B #6DAC2B
monochromatic
#13134A #1F1F7B #2B2CAC #4445D0 #7576DC

Accessibility & contrast

On white

10.20
#2B2CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2B2CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2CAC
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2CAC#FFFFFF#000000##FFFFFF
##2B2CAC1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B0
Deuteranopia (green-blind)
#003BAA
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b2cac;
/* rgb */ color: rgb(43, 44, 172);
/* oklch */ color: oklch(39.4% 0.196 272.5);
Tailwind
colors: {
  custom: {
    50: '#7a67c6',
    500: '#2b2cac',
    950: '#000000',
  },
}
SCSS
$custom: #2b2cac;
$custom-light: #7a67c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2cac",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 239.535,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.3937,
    "c": 0.19586,
    "h": 272.5
  },
  "luminance": 0.05294
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B2CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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