#2B199C#2B199C

#2B199C is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.2% C 0.193 H 276.0°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#2B199C
RGBrgb(43, 25, 156)
HSLhsl(248, 72%, 35%)
HSVhsv(248, 84%, 61%)
CMYKcmyk(72.4%, 84%, 0%, 38.8%)
CIE-LABlab(22.33, 47.72, -66.54)
CIE-LCHlch(22.33, 81.89, 305.65°)
OKLaboklab(35.19% 0.0203 -0.1923)
OKLCHoklch(35.19% 0.193 276)
XYZxyz(7.3427, 3.6085, 31.7556)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B199C #8A9C19
analogous
#19499C #2B199C #6C199C
triadic
#2B199C #9C2B19 #199C2B
tetradic
#2B199C #9C1949 #8A9C19 #199C6C
square
#2B199C #9C1949 #8A9C19 #199C6C
split-complementary
#2B199C #9C6C19 #499C19
monochromatic
#0E0833 #1C1167 #2B199C #3A21D1 #614DE2

Accessibility & contrast

On white

12.20
#2B199C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2B199C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B199C
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B199C#FFFFFF#000000##FFFFFF
##2B199C1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA0
Deuteranopia (green-blind)
#00309A
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2b199c;
/* rgb */ color: rgb(43, 25, 156);
/* oklch */ color: oklch(35.2% 0.193 276.0);
Tailwind
colors: {
  custom: {
    50: '#785bbb',
    500: '#2b199c',
    950: '#000000',
  },
}
SCSS
$custom: #2b199c;
$custom-light: #785bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b199c",
  "rgb": {
    "r": 43,
    "g": 25,
    "b": 156
  },
  "hsl": {
    "h": 248.244,
    "s": 72.376,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35186,
    "c": 0.19338,
    "h": 276
  },
  "luminance": 0.03609
}

Semantic roles & 50–950 ramp

primary
#2B199C
secondary
#B4C44C
accent
#EF39D6
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2B199C

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

Preview Lab → · Contrast checker → · Palette generator →

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