#2B2A91#2B2A91

#2B2A91 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.164 H 275.0°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#2B2A91
RGBrgb(43, 42, 145)
HSLhsl(241, 55%, 37%)
HSVhsv(241, 71%, 57%)
CMYKcmyk(70.3%, 71%, 0%, 43.1%)
CIE-LABlab(24.36, 34.93, -56.41)
CIE-LCHlch(24.36, 66.35, 301.77°)
OKLaboklab(36.26% 0.0141 -0.163)
OKLCHoklch(36.26% 0.164 275)
XYZxyz(6.9334, 4.2132, 27.2304)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2A91 #90912A
analogous
#2A5D91 #2B2A91 #5F2A91
triadic
#2B2A91 #912B2A #2A912B
tetradic
#2B2A91 #912A5D #90912A #2A915F
square
#2B2A91 #912A5D #90912A #2A915F
split-complementary
#2B2A91 #915F2A #5D912A
monochromatic
#0F0F32 #1D1C62 #2B2A91 #3938C0 #6563D2

Accessibility & contrast

On white

11.40
#2B2A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2B2A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2A91
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2A91#FFFFFF#000000##FFFFFF
##2B2A911.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F94
Deuteranopia (green-blind)
#00358F
Tritanopia (blue-blind)
#00465A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b2a91;
/* rgb */ color: rgb(43, 42, 145);
/* oklch */ color: oklch(36.3% 0.164 275.0);
Tailwind
colors: {
  custom: {
    50: '#7364b2',
    500: '#2b2a91',
    950: '#000000',
  },
}
SCSS
$custom: #2b2a91;
$custom-light: #7364b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2a91",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 145
  },
  "hsl": {
    "h": 240.583,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36263,
    "c": 0.16362,
    "h": 275
  },
  "luminance": 0.04214
}

Semantic roles & 50–950 ramp

primary
#2B2A91
secondary
#B7B85F
accent
#DE49DD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2B2A91

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

Preview Lab → · Contrast checker → · Palette generator →

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