#2B2DAB#2B2DAB

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

Color values

HEX#2B2DAB
RGBrgb(43, 45, 171)
HSLhsl(239, 60%, 42%)
HSVhsv(239, 75%, 67%)
CMYKcmyk(74.9%, 73.7%, 0%, 32.9%)
CIE-LABlab(27.65, 42.10, -66.84)
CIE-LCHlch(27.65, 78.99, 302.20°)
OKLaboklab(39.41% 0.0083 -0.1934)
OKLCHoklch(39.41% 0.194 272.5)
XYZxyz(9.2829, 5.3297, 39.0597)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2DAB #ABA92B
analogous
#2B6DAB #2B2DAB #692BAB
triadic
#2B2DAB #AB2B2D #2DAB2B
tetradic
#2B2DAB #AB2B6D #ABA92B #2BAB69
square
#2B2DAB #AB2B6D #ABA92B #2BAB69
split-complementary
#2B2DAB #AB692B #6DAB2B
monochromatic
#121349 #1F207A #2B2DAB #4346D0 #7476DC

Accessibility & contrast

On white

10.16
#2B2DAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2DAB
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2DAB#FFFFFF#000000##FFFFFF
##2B2DAB1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2dab;
/* rgb */ color: rgb(43, 45, 171);
/* oklch */ color: oklch(39.4% 0.194 272.5);
Tailwind
colors: {
  custom: {
    50: '#7967c5',
    500: '#2b2dab',
    950: '#000000',
  },
}
SCSS
$custom: #2b2dab;
$custom-light: #7967c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2dab",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 171
  },
  "hsl": {
    "h": 239.063,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39411,
    "c": 0.19362,
    "h": 272.5
  },
  "luminance": 0.05331
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B2DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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