#2B2B86#2B2B86

#2B2B86 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.148 H 275.8°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#2B2B86
RGBrgb(43, 43, 134)
HSLhsl(240, 51%, 35%)
HSVhsv(240, 68%, 53%)
CMYKcmyk(67.9%, 67.9%, 0%, 47.5%)
CIE-LABlab(23.55, 30.41, -50.91)
CIE-LCHlch(23.55, 59.30, 300.85°)
OKLaboklab(35.35% 0.0148 -0.1469)
OKLCHoklch(35.35% 0.148 275.8)
XYZxyz(6.1618, 3.9620, 22.9897)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2B86 #86862B
analogous
#2B5986 #2B2B86 #592B86
triadic
#2B2B86 #862B2B #2B862B
tetradic
#2B2B86 #862B59 #86862B #2B8659
square
#2B2B86 #862B59 #86862B #2B8659
split-complementary
#2B2B86 #86592B #59862B
monochromatic
#0D0D29 #1C1C58 #2B2B86 #3A3AB4 #6060CC

Accessibility & contrast

On white

11.71
#2B2B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2B2B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2B86
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2B86#FFFFFF#000000##FFFFFF
##2B2B861.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003484
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2b2b86;
/* rgb */ color: rgb(43, 43, 134);
/* oklch */ color: oklch(35.3% 0.148 275.8);
Tailwind
colors: {
  custom: {
    50: '#7165aa',
    500: '#2b2b86',
    950: '#000000',
  },
}
SCSS
$custom: #2b2b86;
$custom-light: #7165aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2b86",
  "rgb": {
    "r": 43,
    "g": 43,
    "b": 134
  },
  "hsl": {
    "h": 240,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35349,
    "c": 0.14765,
    "h": 275.8
  },
  "luminance": 0.03963
}

Semantic roles & 50–950 ramp

primary
#2B2B86
secondary
#B2B25B
accent
#DB4DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2B2B86

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

Preview Lab → · Contrast checker → · Palette generator →

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