#2B2891#2B2891

#2B2891 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.166 H 275.3°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#2B2891
RGBrgb(43, 40, 145)
HSLhsl(242, 57%, 36%)
HSVhsv(242, 72%, 57%)
CMYKcmyk(70.3%, 72.4%, 0%, 43.1%)
CIE-LABlab(23.92, 36.16, -57.15)
CIE-LCHlch(23.92, 67.63, 302.32°)
OKLaboklab(35.94% 0.0155 -0.1651)
OKLCHoklch(35.94% 0.166 275.3)
XYZxyz(6.8642, 4.0749, 27.2074)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2891 #8E9128
analogous
#285A91 #2B2891 #602891
triadic
#2B2891 #912B28 #28912B
tetradic
#2B2891 #91285A #8E9128 #289160
square
#2B2891 #91285A #8E9128 #289160
split-complementary
#2B2891 #916028 #5A9128
monochromatic
#0F0E31 #1D1B61 #2B2891 #3935C1 #6360D3

Accessibility & contrast

On white

11.57
#2B2891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2B2891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2891
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2891#FFFFFF#000000##FFFFFF
##2B28911.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E94
Deuteranopia (green-blind)
#00348F
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b2891;
/* rgb */ color: rgb(43, 40, 145);
/* oklch */ color: oklch(35.9% 0.166 275.3);
Tailwind
colors: {
  custom: {
    50: '#7463b2',
    500: '#2b2891',
    950: '#000000',
  },
}
SCSS
$custom: #2b2891;
$custom-light: #7463b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2891",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 145
  },
  "hsl": {
    "h": 241.714,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35942,
    "c": 0.16587,
    "h": 275.3
  },
  "luminance": 0.04076
}

Semantic roles & 50–950 ramp

primary
#2B2891
secondary
#B6B95C
accent
#E048DC
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2B2891

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

Preview Lab → · Contrast checker → · Palette generator →

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