#2B2691#2B2691

#2B2691 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.168 H 275.7°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#2B2691
RGBrgb(43, 38, 145)
HSLhsl(243, 58%, 36%)
HSVhsv(243, 74%, 57%)
CMYKcmyk(70.3%, 73.8%, 0%, 43.1%)
CIE-LABlab(23.48, 37.36, -57.86)
CIE-LCHlch(23.48, 68.88, 302.85°)
OKLaboklab(35.63% 0.0167 -0.1672)
OKLCHoklch(35.63% 0.168 275.7)
XYZxyz(6.7985, 3.9435, 27.1855)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2691 #8C9126
analogous
#265691 #2B2691 #602691
triadic
#2B2691 #912B26 #26912B
tetradic
#2B2691 #912656 #8C9126 #269160
square
#2B2691 #912656 #8C9126 #269160
split-complementary
#2B2691 #916026 #569126
monochromatic
#0E0D30 #1D1961 #2B2691 #3933C1 #625DD5

Accessibility & contrast

On white

11.74
#2B2691 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2B2691 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2691
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2691#FFFFFF#000000##FFFFFF
##2B26911.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D94
Deuteranopia (green-blind)
#00338F
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2b2691;
/* rgb */ color: rgb(43, 38, 145);
/* oklch */ color: oklch(35.6% 0.168 275.7);
Tailwind
colors: {
  custom: {
    50: '#7462b2',
    500: '#2b2691',
    950: '#000000',
  },
}
SCSS
$custom: #2b2691;
$custom-light: #7462b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2691",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 145
  },
  "hsl": {
    "h": 242.804,
    "s": 58.47,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35632,
    "c": 0.16806,
    "h": 275.7
  },
  "luminance": 0.03944
}

Semantic roles & 50–950 ramp

primary
#2B2691
secondary
#B5BA59
accent
#E246DA
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2B2691

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

Preview Lab → · Contrast checker → · Palette generator →

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