#2B2295#2B2295

#2B2295 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.5% C 0.177 H 275.9°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#2B2295
RGBrgb(43, 34, 149)
HSLhsl(245, 63%, 36%)
HSVhsv(245, 77%, 58%)
CMYKcmyk(71.1%, 77.2%, 0%, 41.6%)
CIE-LABlab(23.09, 41.00, -60.98)
CIE-LCHlch(23.09, 73.48, 303.92°)
OKLaboklab(35.48% 0.0182 -0.1763)
OKLCHoklch(35.48% 0.177 275.9)
XYZxyz(6.9913, 3.8269, 28.7982)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2295 #8C9522
analogous
#225295 #2B2295 #642295
triadic
#2B2295 #952B22 #22952B
tetradic
#2B2295 #952252 #8C9522 #229564
square
#2B2295 #952252 #8C9522 #229564
split-complementary
#2B2295 #956422 #529522
monochromatic
#0E0B31 #1D1763 #2B2295 #392DC7 #6258D9

Accessibility & contrast

On white

11.89
#2B2295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2B2295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2295
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2295#FFFFFF#000000##FFFFFF
##2B22951.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C98
Deuteranopia (green-blind)
#003293
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b2295;
/* rgb */ color: rgb(43, 34, 149);
/* oklch */ color: oklch(35.5% 0.177 275.9);
Tailwind
colors: {
  custom: {
    50: '#755fb5',
    500: '#2b2295',
    950: '#000000',
  },
}
SCSS
$custom: #2b2295;
$custom-light: #755fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2295",
  "rgb": {
    "r": 43,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 244.696,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3548,
    "c": 0.17722,
    "h": 275.9
  },
  "luminance": 0.03828
}

Semantic roles & 50–950 ramp

primary
#2B2295
secondary
#B5BD56
accent
#E642D9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2B2295

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

Preview Lab → · Contrast checker → · Palette generator →

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