#2B2496#2B2496

#2B2496 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.176 H 275.5°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#2B2496
RGBrgb(43, 36, 150)
HSLhsl(244, 61%, 36%)
HSVhsv(244, 76%, 59%)
CMYKcmyk(71.3%, 76%, 0%, 41.2%)
CIE-LABlab(23.59, 40.21, -60.77)
CIE-LCHlch(23.59, 72.87, 303.49°)
OKLaboklab(35.87% 0.0169 -0.1757)
OKLCHoklch(35.87% 0.176 275.5)
XYZxyz(7.1303, 3.9767, 29.2401)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2496 #8F9624
analogous
#245696 #2B2496 #642496
triadic
#2B2496 #962B24 #24962B
tetradic
#2B2496 #962456 #8F9624 #249664
square
#2B2496 #962456 #8F9624 #249664
split-complementary
#2B2496 #966424 #569624
monochromatic
#0F0C33 #1D1865 #2B2496 #3930C7 #645CD8

Accessibility & contrast

On white

11.70
#2B2496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2B2496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2496
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2496#FFFFFF#000000##FFFFFF
##2B24961.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D99
Deuteranopia (green-blind)
#003394
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2b2496;
/* rgb */ color: rgb(43, 36, 150);
/* oklch */ color: oklch(35.9% 0.176 275.5);
Tailwind
colors: {
  custom: {
    50: '#7561b6',
    500: '#2b2496',
    950: '#000000',
  },
}
SCSS
$custom: #2b2496;
$custom-light: #7561b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2496",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 243.684,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35868,
    "c": 0.17649,
    "h": 275.5
  },
  "luminance": 0.03977
}

Semantic roles & 50–950 ramp

primary
#2B2496
secondary
#B7BD59
accent
#E443DB
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2B2496

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

Preview Lab → · Contrast checker → · Palette generator →

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