#2B2472#2B2472

#2B2472 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.2% C 0.129 H 280.4°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#2B2472
RGBrgb(43, 36, 114)
HSLhsl(245, 52%, 29%)
HSVhsv(245, 68%, 45%)
CMYKcmyk(62.3%, 68.4%, 0%, 55.3%)
CIE-LABlab(20.00, 27.86, -44.01)
CIE-LCHlch(20.00, 52.08, 302.34°)
OKLaboklab(32.21% 0.0232 -0.1267)
OKLCHoklch(32.21% 0.129 280.4)
XYZxyz(4.6634, 2.9899, 16.2477)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2472 #6B7224
analogous
#244472 #2B2472 #522472
triadic
#2B2472 #722B24 #24722B
tetradic
#2B2472 #722444 #6B7224 #247252
square
#2B2472 #722444 #6B7224 #247252
split-complementary
#2B2472 #725224 #447224
monochromatic
#090717 #191543 #2B2472 #3D33A1 #564AC6

Accessibility & contrast

On white

13.14
#2B2472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2B2472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2472
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2472#FFFFFF#000000##FFFFFF
##2B24721.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003374
Deuteranopia (green-blind)
#002D70
Tritanopia (blue-blind)
#003847
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2b2472;
/* rgb */ color: rgb(43, 36, 114);
/* oklch */ color: oklch(32.2% 0.129 280.4);
Tailwind
colors: {
  custom: {
    50: '#6d5f9b',
    500: '#2b2472',
    950: '#000000',
  },
}
SCSS
$custom: #2b2472;
$custom-light: #6d5f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2472",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 114
  },
  "hsl": {
    "h": 245.385,
    "s": 52,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32209,
    "c": 0.12879,
    "h": 280.4
  },
  "luminance": 0.0299
}

Semantic roles & 50–950 ramp

primary
#2B2472
secondary
#9DA54D
accent
#DB4CCF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #2B2472

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

Preview Lab → · Contrast checker → · Palette generator →

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