#2B2192#2B2192

#2B2192 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.174 H 276.4°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#2B2192
RGBrgb(43, 33, 146)
HSLhsl(245, 63%, 35%)
HSVhsv(245, 77%, 57%)
CMYKcmyk(70.5%, 77.4%, 0%, 42.7%)
CIE-LABlab(22.57, 40.57, -59.99)
CIE-LCHlch(22.57, 72.42, 304.07°)
OKLaboklab(35.02% 0.0194 -0.1734)
OKLCHoklch(35.02% 0.174 276.4)
XYZxyz(6.7267, 3.6760, 27.5436)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2192 #889221
analogous
#214F92 #2B2192 #642192
triadic
#2B2192 #922B21 #21922B
tetradic
#2B2192 #92214F #889221 #219264
square
#2B2192 #92214F #889221 #219264
split-complementary
#2B2192 #926421 #4F9221
monochromatic
#0E0A2E #1C1660 #2B2192 #3A2CC4 #6155D9

Accessibility & contrast

On white

12.10
#2B2192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2B2192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2192
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2192#FFFFFF#000000##FFFFFF
##2B21921.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2192;
/* rgb */ color: rgb(43, 33, 146);
/* oklch */ color: oklch(35.0% 0.174 276.4);
Tailwind
colors: {
  custom: {
    50: '#755fb3',
    500: '#2b2192',
    950: '#000000',
  },
}
SCSS
$custom: #2b2192;
$custom-light: #755fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2192",
  "rgb": {
    "r": 43,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 245.31,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35017,
    "c": 0.17447,
    "h": 276.4
  },
  "luminance": 0.03677
}

Semantic roles & 50–950 ramp

primary
#2B2192
secondary
#B3BC53
accent
#E642D8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2B2192

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

Preview Lab → · Contrast checker → · Palette generator →

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