#2B2A77#2B2A77

#2B2A77 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.128 H 277.6°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#2B2A77
RGBrgb(43, 42, 119)
HSLhsl(241, 48%, 32%)
HSVhsv(241, 65%, 47%)
CMYKcmyk(63.9%, 64.7%, 0%, 53.3%)
CIE-LABlab(21.95, 25.67, -44.04)
CIE-LCHlch(21.95, 50.97, 300.24°)
OKLaboklab(33.77% 0.017 -0.1267)
OKLCHoklch(33.77% 0.128 277.6)
XYZxyz(5.1529, 3.5010, 17.8534)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2A77 #76772A
analogous
#2A5077 #2B2A77 #522A77
triadic
#2B2A77 #772B2A #2A772B
tetradic
#2B2A77 #772A50 #76772A #2A7752
square
#2B2A77 #772A50 #76772A #2A7752
split-complementary
#2B2A77 #77522A #50772A
monochromatic
#0A0A1D #1B1A4A #2B2A77 #3B3AA4 #5958C4

Accessibility & contrast

On white

12.35
#2B2A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2B2A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2A77
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2A77#FFFFFF#000000##FFFFFF
##2B2A771.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2a77;
/* rgb */ color: rgb(43, 42, 119);
/* oklch */ color: oklch(33.8% 0.128 277.6);
Tailwind
colors: {
  custom: {
    50: '#6e639f',
    500: '#2b2a77',
    950: '#000000',
  },
}
SCSS
$custom: #2b2a77;
$custom-light: #6e639f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2a77",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 119
  },
  "hsl": {
    "h": 240.779,
    "s": 47.826,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33766,
    "c": 0.12788,
    "h": 277.6
  },
  "luminance": 0.03501
}

Semantic roles & 50–950 ramp

primary
#2B2A77
secondary
#A8A954
accent
#D750D6
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #2B2A77

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

Preview Lab → · Contrast checker → · Palette generator →

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