#2B199F#2B199F

#2B199F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.5% C 0.197 H 275.6°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#2B199F
RGBrgb(43, 25, 159)
HSLhsl(248, 73%, 36%)
HSVhsv(248, 84%, 62%)
CMYKcmyk(73%, 84.3%, 0%, 37.6%)
CIE-LABlab(22.69, 48.63, -67.78)
CIE-LCHlch(22.69, 83.42, 305.66°)
OKLaboklab(35.54% 0.0194 -0.1959)
OKLCHoklch(35.54% 0.197 275.6)
XYZxyz(7.5998, 3.7113, 33.1100)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B199F #8D9F19
analogous
#194A9F #2B199F #6E199F
triadic
#2B199F #9F2B19 #199F2B
tetradic
#2B199F #9F194A #8D9F19 #199F6E
square
#2B199F #9F194A #8D9F19 #199F6E
split-complementary
#2B199F #9F6E19 #4A9F19
monochromatic
#0E0835 #1D116A #2B199F #3921D4 #634FE3

Accessibility & contrast

On white

12.05
#2B199F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B199F
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B199F#FFFFFF#000000##FFFFFF
##2B199F1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA3
Deuteranopia (green-blind)
#00309D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b199f;
/* rgb */ color: rgb(43, 25, 159);
/* oklch */ color: oklch(35.5% 0.197 275.6);
Tailwind
colors: {
  custom: {
    50: '#785bbd',
    500: '#2b199f',
    950: '#000000',
  },
}
SCSS
$custom: #2b199f;
$custom-light: #785bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b199f",
  "rgb": {
    "r": 43,
    "g": 25,
    "b": 159
  },
  "hsl": {
    "h": 248.06,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35539,
    "c": 0.19686,
    "h": 275.6
  },
  "luminance": 0.03712
}

Semantic roles & 50–950 ramp

primary
#2B199F
secondary
#B6C64E
accent
#F038D7
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2B199F

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

Preview Lab → · Contrast checker → · Palette generator →

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