#2B2C79#2B2C79

#2B2C79 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.128 H 276.7°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#2B2C79
RGBrgb(43, 44, 121)
HSLhsl(239, 48%, 32%)
HSVhsv(239, 64%, 47%)
CMYKcmyk(64.5%, 63.6%, 0%, 52.5%)
CIE-LABlab(22.64, 25.05, -44.19)
CIE-LCHlch(22.64, 50.80, 299.55°)
OKLaboklab(34.33% 0.015 -0.1272)
OKLCHoklch(34.33% 0.128 276.7)
XYZxyz(5.3470, 3.6950, 18.5169)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2C79 #79782B
analogous
#2B5379 #2B2C79 #512B79
triadic
#2B2C79 #792B2C #2C792B
tetradic
#2B2C79 #792B53 #79782B #2B7951
square
#2B2C79 #792B53 #79782B #2B7951
split-complementary
#2B2C79 #79512B #53792B
monochromatic
#0B0B1F #1B1C4C #2B2C79 #3B3CA6 #5A5BC4

Accessibility & contrast

On white

12.08
#2B2C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2B2C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2C79
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2C79#FFFFFF#000000##FFFFFF
##2B2C791.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003377
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b2c79;
/* rgb */ color: rgb(43, 44, 121);
/* oklch */ color: oklch(34.3% 0.128 276.7);
Tailwind
colors: {
  custom: {
    50: '#6e65a0',
    500: '#2b2c79',
    950: '#000000',
  },
}
SCSS
$custom: #2b2c79;
$custom-light: #6e65a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2c79",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 121
  },
  "hsl": {
    "h": 239.231,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34325,
    "c": 0.12806,
    "h": 276.7
  },
  "luminance": 0.03695
}

Semantic roles & 50–950 ramp

primary
#2B2C79
secondary
#AAA956
accent
#D551D7
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050F
muted
#7B7A7E

Preview Lab

Preview with #2B2C79

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

Preview Lab → · Contrast checker → · Palette generator →

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