#2B2A9E#2B2A9E

#2B2A9E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.6% C 0.180 H 273.8°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#2B2A9E
RGBrgb(43, 42, 158)
HSLhsl(241, 58%, 39%)
HSVhsv(241, 73%, 62%)
CMYKcmyk(72.8%, 73.4%, 0%, 38%)
CIE-LABlab(25.68, 39.43, -62.24)
CIE-LCHlch(25.68, 73.67, 302.36°)
OKLaboklab(37.6% 0.012 -0.18)
OKLCHoklch(37.6% 0.18 273.8)
XYZxyz(7.9937, 4.6374, 32.8149)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2A9E #9D9E2A
analogous
#2A639E #2B2A9E #652A9E
triadic
#2B2A9E #9E2B2A #2A9E2B
tetradic
#2B2A9E #9E2A63 #9D9E2A #2A9E65
square
#2B2A9E #9E2A63 #9D9E2A #2A9E65
split-complementary
#2B2A9E #9E652A #639E2A
monochromatic
#11103D #1E1D6E #2B2A9E #3C3ACB #6C6BD8

Accessibility & contrast

On white

10.89
#2B2A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2B2A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2A9E
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2A9E#FFFFFF#000000##FFFFFF
##2B2A9E1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00379C
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b2a9e;
/* rgb */ color: rgb(43, 42, 158);
/* oklch */ color: oklch(37.6% 0.180 273.8);
Tailwind
colors: {
  custom: {
    50: '#7665bc',
    500: '#2b2a9e',
    950: '#000000',
  },
}
SCSS
$custom: #2b2a9e;
$custom-light: #7665bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2a9e",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 158
  },
  "hsl": {
    "h": 240.517,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37597,
    "c": 0.1804,
    "h": 273.8
  },
  "luminance": 0.04638
}

Semantic roles & 50–950 ramp

primary
#2B2A9E
secondary
#BDBE66
accent
#E147E0
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B2A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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