#2B2B76#2B2B76

#2B2B76 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.9% C 0.125 H 277.4°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#2B2B76
RGBrgb(43, 43, 118)
HSLhsl(240, 47%, 32%)
HSVhsv(240, 64%, 46%)
CMYKcmyk(63.6%, 63.6%, 0%, 53.7%)
CIE-LABlab(22.12, 24.63, -43.12)
CIE-LCHlch(22.12, 49.66, 299.74°)
OKLaboklab(33.87% 0.0161 -0.124)
OKLCHoklch(33.87% 0.125 277.4)
XYZxyz(5.1291, 3.5490, 17.5508)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2B76 #76762B
analogous
#2B5176 #2B2B76 #512B76
triadic
#2B2B76 #762B2B #2B762B
tetradic
#2B2B76 #762B51 #76762B #2B7651
square
#2B2B76 #762B51 #76762B #2B7651
split-complementary
#2B2B76 #76512B #51762B
monochromatic
#0A0A1C #1B1B49 #2B2B76 #3B3BA3 #5959C2

Accessibility & contrast

On white

12.28
#2B2B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2B2B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2B76
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2B76#FFFFFF#000000##FFFFFF
##2B2B761.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#003275
Tritanopia (blue-blind)
#003D4C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2b2b76;
/* rgb */ color: rgb(43, 43, 118);
/* oklch */ color: oklch(33.9% 0.125 277.4);
Tailwind
colors: {
  custom: {
    50: '#6d649e',
    500: '#2b2b76',
    950: '#000000',
  },
}
SCSS
$custom: #2b2b76;
$custom-light: #6d649e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2b76",
  "rgb": {
    "r": 43,
    "g": 43,
    "b": 118
  },
  "hsl": {
    "h": 240,
    "s": 46.584,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33865,
    "c": 0.12508,
    "h": 277.4
  },
  "luminance": 0.03549
}

Semantic roles & 50–950 ramp

primary
#2B2B76
secondary
#A8A855
accent
#D652D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #2B2B76

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

Preview Lab → · Contrast checker → · Palette generator →

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