#2B2A94#2B2A94

#2B2A94 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.168 H 274.7°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#2B2A94
RGBrgb(43, 42, 148)
HSLhsl(241, 56%, 37%)
HSVhsv(241, 72%, 58%)
CMYKcmyk(70.9%, 71.6%, 0%, 42%)
CIE-LABlab(24.66, 35.98, -57.78)
CIE-LCHlch(24.66, 68.06, 301.91°)
OKLaboklab(36.57% 0.0137 -0.167)
OKLCHoklch(36.57% 0.168 274.7)
XYZxyz(7.1678, 4.3070, 28.4648)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2A94 #93942A
analogous
#2A5E94 #2B2A94 #602A94
triadic
#2B2A94 #942B2A #2A942B
tetradic
#2B2A94 #942A5E #93942A #2A9460
square
#2B2A94 #942A5E #93942A #2A9460
split-complementary
#2B2A94 #94602A #5E942A
monochromatic
#0F0F35 #1D1C64 #2B2A94 #3938C4 #6665D3

Accessibility & contrast

On white

11.28
#2B2A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2B2A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2A94
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2A94#FFFFFF#000000##FFFFFF
##2B2A941.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003692
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b2a94;
/* rgb */ color: rgb(43, 42, 148);
/* oklch */ color: oklch(36.6% 0.168 274.7);
Tailwind
colors: {
  custom: {
    50: '#7464b4',
    500: '#2b2a94',
    950: '#000000',
  },
}
SCSS
$custom: #2b2a94;
$custom-light: #7464b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2a94",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 148
  },
  "hsl": {
    "h": 240.566,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36566,
    "c": 0.16755,
    "h": 274.7
  },
  "luminance": 0.04308
}

Semantic roles & 50–950 ramp

primary
#2B2A94
secondary
#B9B960
accent
#DF49DE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2B2A94

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

Preview Lab → · Contrast checker → · Palette generator →

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