#2B2491#2B2491

#2B2491 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.3% C 0.170 H 276.0°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#2B2491
RGBrgb(43, 36, 145)
HSLhsl(244, 60%, 35%)
HSVhsv(244, 75%, 57%)
CMYKcmyk(70.3%, 75.2%, 0%, 43.1%)
CIE-LABlab(23.06, 38.54, -58.55)
CIE-LCHlch(23.06, 70.10, 303.35°)
OKLaboklab(35.33% 0.0179 -0.1692)
OKLCHoklch(35.33% 0.17 276)
XYZxyz(6.7363, 3.8191, 27.1647)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2491 #8A9124
analogous
#245391 #2B2491 #612491
triadic
#2B2491 #912B24 #24912B
tetradic
#2B2491 #912453 #8A9124 #249161
square
#2B2491 #912453 #8A9124 #249161
split-complementary
#2B2491 #916124 #539124
monochromatic
#0E0C2F #1C1860 #2B2491 #3A30C2 #6159D6

Accessibility & contrast

On white

11.90
#2B2491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2B2491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2491
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2491#FFFFFF#000000##FFFFFF
##2B24911.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C94
Deuteranopia (green-blind)
#00328F
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b2491;
/* rgb */ color: rgb(43, 36, 145);
/* oklch */ color: oklch(35.3% 0.170 276.0);
Tailwind
colors: {
  custom: {
    50: '#7460b2',
    500: '#2b2491',
    950: '#000000',
  },
}
SCSS
$custom: #2b2491;
$custom-light: #7460b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2491",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 243.853,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35334,
    "c": 0.17018,
    "h": 276
  },
  "luminance": 0.0382
}

Semantic roles & 50–950 ramp

primary
#2B2491
secondary
#B4BA56
accent
#E344D9
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2B2491

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

Preview Lab → · Contrast checker → · Palette generator →

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