#2B2199#2B2199

#2B2199 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.183 H 275.6°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#2B2199
RGBrgb(43, 33, 153)
HSLhsl(245, 65%, 36%)
HSVhsv(245, 78%, 60%)
CMYKcmyk(71.9%, 78.4%, 0%, 40%)
CIE-LABlab(23.34, 42.85, -63.03)
CIE-LCHlch(23.34, 76.22, 304.21°)
OKLaboklab(35.79% 0.0177 -0.1822)
OKLCHoklch(35.79% 0.183 275.6)
XYZxyz(7.2880, 3.9005, 30.4996)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2199 #8F9921
analogous
#215399 #2B2199 #672199
triadic
#2B2199 #992B21 #21992B
tetradic
#2B2199 #992153 #8F9921 #219967
square
#2B2199 #992153 #8F9921 #219967
split-complementary
#2B2199 #996721 #539921
monochromatic
#0F0B34 #1D1667 #2B2199 #392CCB #6459DB

Accessibility & contrast

On white

11.80
#2B2199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2B2199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2199
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2199#FFFFFF#000000##FFFFFF
##2B21991.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9C
Deuteranopia (green-blind)
#003297
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2b2199;
/* rgb */ color: rgb(43, 33, 153);
/* oklch */ color: oklch(35.8% 0.183 275.6);
Tailwind
colors: {
  custom: {
    50: '#765fb8',
    500: '#2b2199',
    950: '#000000',
  },
}
SCSS
$custom: #2b2199;
$custom-light: #765fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2199",
  "rgb": {
    "r": 43,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 245,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35786,
    "c": 0.18311,
    "h": 275.6
  },
  "luminance": 0.03901
}

Semantic roles & 50–950 ramp

primary
#2B2199
secondary
#B7BF56
accent
#E840DA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2B2199

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

Preview Lab → · Contrast checker → · Palette generator →

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