#2B2292#2B2292

#2B2292 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.2% C 0.173 H 276.2°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#2B2292
RGBrgb(43, 34, 146)
HSLhsl(245, 62%, 35%)
HSVhsv(245, 77%, 57%)
CMYKcmyk(70.5%, 76.7%, 0%, 42.7%)
CIE-LABlab(22.77, 40.01, -59.66)
CIE-LCHlch(22.77, 71.84, 303.85°)
OKLaboklab(35.15% 0.0189 -0.1724)
OKLCHoklch(35.15% 0.173 276.2)
XYZxyz(6.7549, 3.7324, 27.5530)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2292 #899222
analogous
#225192 #2B2292 #632292
triadic
#2B2292 #922B22 #22922B
tetradic
#2B2292 #922251 #899222 #229263
square
#2B2292 #922251 #899222 #229263
split-complementary
#2B2292 #926322 #519222
monochromatic
#0E0B2F #1C1660 #2B2292 #3A2EC4 #6157D8

Accessibility & contrast

On white

12.02
#2B2292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2B2292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2292
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2292#FFFFFF#000000##FFFFFF
##2B22921.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B95
Deuteranopia (green-blind)
#003190
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b2292;
/* rgb */ color: rgb(43, 34, 146);
/* oklch */ color: oklch(35.2% 0.173 276.2);
Tailwind
colors: {
  custom: {
    50: '#745fb3',
    500: '#2b2292',
    950: '#000000',
  },
}
SCSS
$custom: #2b2292;
$custom-light: #745fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2292",
  "rgb": {
    "r": 43,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 244.821,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35155,
    "c": 0.17348,
    "h": 276.2
  },
  "luminance": 0.03733
}

Semantic roles & 50–950 ramp

primary
#2B2292
secondary
#B3BC54
accent
#E543D8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2B2292

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

Preview Lab → · Contrast checker → · Palette generator →

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