#2B2C77#2B2C77

#2B2C77 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.125 H 276.9°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#2B2C77
RGBrgb(43, 44, 119)
HSLhsl(239, 47%, 32%)
HSVhsv(239, 64%, 47%)
CMYKcmyk(63.9%, 63%, 0%, 53.3%)
CIE-LABlab(22.47, 24.32, -43.19)
CIE-LCHlch(22.47, 49.57, 299.38°)
OKLaboklab(34.15% 0.0151 -0.1242)
OKLCHoklch(34.15% 0.125 276.9)
XYZxyz(5.2256, 3.6465, 17.8776)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2C77 #77762B
analogous
#2B5277 #2B2C77 #502B77
triadic
#2B2C77 #772B2C #2C772B
tetradic
#2B2C77 #772B52 #77762B #2B7750
square
#2B2C77 #772B52 #77762B #2B7750
split-complementary
#2B2C77 #77502B #52772B
monochromatic
#0B0B1D #1B1B4A #2B2C77 #3B3DA4 #595BC3

Accessibility & contrast

On white

12.14
#2B2C77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2B2C77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2C77
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2C77#FFFFFF#000000##FFFFFF
##2B2C771.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003979
Deuteranopia (green-blind)
#003276
Tritanopia (blue-blind)
#003E4D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b2c77;
/* rgb */ color: rgb(43, 44, 119);
/* oklch */ color: oklch(34.1% 0.125 276.9);
Tailwind
colors: {
  custom: {
    50: '#6d659f',
    500: '#2b2c77',
    950: '#000000',
  },
}
SCSS
$custom: #2b2c77;
$custom-light: #6d659f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2c77",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 119
  },
  "hsl": {
    "h": 239.211,
    "s": 46.914,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34147,
    "c": 0.12516,
    "h": 276.9
  },
  "luminance": 0.03647
}

Semantic roles & 50–950 ramp

primary
#2B2C77
secondary
#A9A755
accent
#D551D7
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #2B2C77

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

Preview Lab → · Contrast checker → · Palette generator →

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