#2B2A72#2B2A72

#2B2A72 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.3% C 0.121 H 278.2°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#2B2A72
RGBrgb(43, 42, 114)
HSLhsl(241, 46%, 31%)
HSVhsv(241, 63%, 45%)
CMYKcmyk(62.3%, 63.2%, 0%, 55.3%)
CIE-LABlab(21.52, 23.86, -41.53)
CIE-LCHlch(21.52, 47.90, 299.88°)
OKLaboklab(33.32% 0.0173 -0.1194)
OKLCHoklch(33.32% 0.121 278.2)
XYZxyz(4.8605, 3.3841, 16.3134)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2A72 #71722A
analogous
#2A4D72 #2B2A72 #4F2A72
triadic
#2B2A72 #722B2A #2A722B
tetradic
#2B2A72 #722A4D #71722A #2A724F
square
#2B2A72 #722A4D #71722A #2A724F
split-complementary
#2B2A72 #724F2A #4D722A
monochromatic
#090919 #1A1A45 #2B2A72 #3C3A9F #5756C1

Accessibility & contrast

On white

12.52
#2B2A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2B2A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2A72
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2A72#FFFFFF#000000##FFFFFF
##2B2A721.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#003171
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2b2a72;
/* rgb */ color: rgb(43, 42, 114);
/* oklch */ color: oklch(33.3% 0.121 278.2);
Tailwind
colors: {
  custom: {
    50: '#6d639b',
    500: '#2b2a72',
    950: '#000000',
  },
}
SCSS
$custom: #2b2a72;
$custom-light: #6d639b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2a72",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 114
  },
  "hsl": {
    "h": 240.833,
    "s": 46.154,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33318,
    "c": 0.12062,
    "h": 278.2
  },
  "luminance": 0.03384
}

Semantic roles & 50–950 ramp

primary
#2B2A72
secondary
#A3A454
accent
#D652D4
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #2B2A72

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

Preview Lab → · Contrast checker → · Palette generator →

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