#2B2396#2B2396

#2B2396 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.177 H 275.6°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#2B2396
RGBrgb(43, 35, 150)
HSLhsl(244, 62%, 36%)
HSVhsv(244, 77%, 59%)
CMYKcmyk(71.3%, 76.7%, 0%, 41.2%)
CIE-LABlab(23.40, 40.77, -61.10)
CIE-LCHlch(23.40, 73.45, 303.72°)
OKLaboklab(35.73% 0.0174 -0.1766)
OKLCHoklch(35.73% 0.177 275.6)
XYZxyz(7.1005, 3.9170, 29.2301)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2396 #8E9623
analogous
#235596 #2B2396 #652396
triadic
#2B2396 #962B23 #23962B
tetradic
#2B2396 #962355 #8E9623 #239665
square
#2B2396 #962355 #8E9623 #239665
split-complementary
#2B2396 #966523 #559623
monochromatic
#0F0C33 #1D1764 #2B2396 #392FC8 #635BD9

Accessibility & contrast

On white

11.77
#2B2396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2B2396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2396
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2396#FFFFFF#000000##FFFFFF
##2B23961.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.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: #2b2396;
/* rgb */ color: rgb(43, 35, 150);
/* oklch */ color: oklch(35.7% 0.177 275.6);
Tailwind
colors: {
  custom: {
    50: '#7560b6',
    500: '#2b2396',
    950: '#000000',
  },
}
SCSS
$custom: #2b2396;
$custom-light: #7560b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2396",
  "rgb": {
    "r": 43,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 244.174,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35727,
    "c": 0.17749,
    "h": 275.6
  },
  "luminance": 0.03918
}

Semantic roles & 50–950 ramp

primary
#2B2396
secondary
#B6BD58
accent
#E543DA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2B2396

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

Preview Lab → · Contrast checker → · Palette generator →

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