#2B2476#2B2476

#2B2476 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.6% C 0.134 H 279.7°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#2B2476
RGBrgb(43, 36, 118)
HSLhsl(245, 53%, 30%)
HSVhsv(245, 69%, 46%)
CMYKcmyk(63.6%, 69.5%, 0%, 53.7%)
CIE-LABlab(20.37, 29.26, -45.97)
CIE-LCHlch(20.37, 54.49, 302.48°)
OKLaboklab(32.59% 0.0227 -0.1324)
OKLCHoklch(32.59% 0.134 279.7)
XYZxyz(4.8961, 3.0830, 17.4731)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2476 #6F7624
analogous
#244676 #2B2476 #542476
triadic
#2B2476 #762B24 #24762B
tetradic
#2B2476 #762446 #6F7624 #247654
square
#2B2476 #762446 #6F7624 #247654
split-complementary
#2B2476 #765424 #467624
monochromatic
#090718 #1A1647 #2B2476 #3C32A5 #574CC8

Accessibility & contrast

On white

12.99
#2B2476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2B2476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2476
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2476#FFFFFF#000000##FFFFFF
##2B24761.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#002E74
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2b2476;
/* rgb */ color: rgb(43, 36, 118);
/* oklch */ color: oklch(32.6% 0.134 279.7);
Tailwind
colors: {
  custom: {
    50: '#6e5f9e',
    500: '#2b2476',
    950: '#000000',
  },
}
SCSS
$custom: #2b2476;
$custom-light: #6e5f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2476",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 118
  },
  "hsl": {
    "h": 245.122,
    "s": 53.247,
    "l": 30.196
  },
  "oklch": {
    "l": 0.32591,
    "c": 0.13437,
    "h": 279.7
  },
  "luminance": 0.03083
}

Semantic roles & 50–950 ramp

primary
#2B2476
secondary
#A1A94D
accent
#DD4BD0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2B2476

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

Preview Lab → · Contrast checker → · Palette generator →

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