#2B2283#2B2283

#2B2283 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.154 H 278.2°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#2B2283
RGBrgb(43, 34, 131)
HSLhsl(246, 59%, 32%)
HSVhsv(246, 74%, 51%)
CMYKcmyk(67.2%, 74%, 0%, 48.6%)
CIE-LABlab(21.19, 34.98, -52.89)
CIE-LCHlch(21.19, 63.41, 303.48°)
OKLaboklab(33.57% 0.0221 -0.1527)
OKLCHoklch(33.57% 0.154 278.2)
XYZxyz(5.6637, 3.2959, 21.8060)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2283 #7A8322
analogous
#224A83 #2B2283 #5C2283
triadic
#2B2283 #832B22 #22832B
tetradic
#2B2283 #83224A #7A8322 #22835C
square
#2B2283 #83224A #7A8322 #22835C
split-complementary
#2B2283 #835C22 #4A8322
monochromatic
#0B0922 #1B1552 #2B2283 #3B2FB4 #5A4ED1

Accessibility & contrast

On white

12.66
#2B2283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2B2283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2283
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2283#FFFFFF#000000##FFFFFF
##2B22831.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003786
Deuteranopia (green-blind)
#002F81
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2b2283;
/* rgb */ color: rgb(43, 34, 131);
/* oklch */ color: oklch(33.6% 0.154 278.2);
Tailwind
colors: {
  custom: {
    50: '#715ea8',
    500: '#2b2283',
    950: '#000000',
  },
}
SCSS
$custom: #2b2283;
$custom-light: #715ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2283",
  "rgb": {
    "r": 43,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 245.567,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33566,
    "c": 0.15428,
    "h": 278.2
  },
  "luminance": 0.03296
}

Semantic roles & 50–950 ramp

primary
#2B2283
secondary
#ABB44C
accent
#E246D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2B2283

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

Preview Lab → · Contrast checker → · Palette generator →

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