#2A2B91#2A2B91

#2A2B91 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.163 H 274.3°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#2A2B91
RGBrgb(42, 43, 145)
HSLhsl(239, 55%, 37%)
HSVhsv(239, 71%, 57%)
CMYKcmyk(71%, 70.3%, 0%, 43.1%)
CIE-LABlab(24.52, 34.19, -56.15)
CIE-LCHlch(24.52, 65.74, 301.33°)
OKLaboklab(36.36% 0.0122 -0.1623)
OKLCHoklch(36.36% 0.163 274.3)
XYZxyz(6.9279, 4.2637, 27.2404)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2B91 #91902A
analogous
#2A5F91 #2A2B91 #5D2A91
triadic
#2A2B91 #912A2B #2B912A
tetradic
#2A2B91 #912A5F #91902A #2A915D
square
#2A2B91 #912A5F #91902A #2A915D
split-complementary
#2A2B91 #915D2A #5F912A
monochromatic
#0F0F32 #1C1D62 #2A2B91 #3839C0 #6365D2

Accessibility & contrast

On white

11.33
#2A2B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2A2B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2B91
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2B91#FFFFFF#000000##FFFFFF
##2A2B911.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a2b91;
/* rgb */ color: rgb(42, 43, 145);
/* oklch */ color: oklch(36.4% 0.163 274.3);
Tailwind
colors: {
  custom: {
    50: '#7365b2',
    500: '#2a2b91',
    950: '#000000',
  },
}
SCSS
$custom: #2a2b91;
$custom-light: #7365b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2b91",
  "rgb": {
    "r": 42,
    "g": 43,
    "b": 145
  },
  "hsl": {
    "h": 239.417,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3636,
    "c": 0.16273,
    "h": 274.3
  },
  "luminance": 0.04264
}

Semantic roles & 50–950 ramp

primary
#2A2B91
secondary
#B8B75F
accent
#DD49DE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2A2B91

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

Preview Lab → · Contrast checker → · Palette generator →

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