#2B2C86#2B2C86

#2B2C86 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.146 H 275.5°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#2B2C86
RGBrgb(43, 44, 134)
HSLhsl(239, 51%, 35%)
HSVhsv(239, 68%, 53%)
CMYKcmyk(67.9%, 67.2%, 0%, 47.5%)
CIE-LABlab(23.79, 29.76, -50.51)
CIE-LCHlch(23.79, 58.63, 300.50°)
OKLaboklab(35.53% 0.014 -0.1457)
OKLCHoklch(35.53% 0.146 275.5)
XYZxyz(6.1986, 4.0356, 23.0019)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2C86 #86852B
analogous
#2B5986 #2B2C86 #582B86
triadic
#2B2C86 #862B2C #2C862B
tetradic
#2B2C86 #862B59 #86852B #2B8658
square
#2B2C86 #862B59 #86852B #2B8658
split-complementary
#2B2C86 #86582B #59862B
monochromatic
#0D0E29 #1C1D58 #2B2C86 #3A3BB4 #6061CC

Accessibility & contrast

On white

11.62
#2B2C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2B2C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2C86
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2C86#FFFFFF#000000##FFFFFF
##2B2C861.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003584
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b2c86;
/* rgb */ color: rgb(43, 44, 134);
/* oklch */ color: oklch(35.5% 0.146 275.5);
Tailwind
colors: {
  custom: {
    50: '#7165aa',
    500: '#2b2c86',
    950: '#000000',
  },
}
SCSS
$custom: #2b2c86;
$custom-light: #7165aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2c86",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 134
  },
  "hsl": {
    "h": 239.341,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35526,
    "c": 0.1464,
    "h": 275.5
  },
  "luminance": 0.04036
}

Semantic roles & 50–950 ramp

primary
#2B2C86
secondary
#B2B15B
accent
#D94DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2B2C86

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

Preview Lab → · Contrast checker → · Palette generator →

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