#2B149F#2B149F

#2B149F is a dark, highly saturated blue. Relative luminance 0.035; OKLCH L 35.1% C 0.200 H 276.0°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#2B149F
RGBrgb(43, 20, 159)
HSLhsl(250, 78%, 35%)
HSVhsv(250, 87%, 62%)
CMYKcmyk(73%, 87.4%, 0%, 37.6%)
CIE-LABlab(22.00, 50.67, -68.92)
CIE-LCHlch(22.00, 85.55, 306.32°)
OKLaboklab(35.07% 0.0209 -0.1991)
OKLCHoklch(35.07% 0.2 276)
XYZxyz(7.5024, 3.5164, 33.0775)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B149F #889F14
analogous
#14429F #2B149F #70149F
triadic
#2B149F #9F2B14 #149F2B
tetradic
#2B149F #9F1442 #889F14 #149F70
square
#2B149F #9F1442 #889F14 #149F70
split-complementary
#2B149F #9F7014 #429F14
monochromatic
#0E0632 #1C0D69 #2B149F #3A1BD5 #6146E8

Accessibility & contrast

On white

12.33
#2B149F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2B149F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B149F
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B149F#FFFFFF#000000##FFFFFF
##2B149F1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA3
Deuteranopia (green-blind)
#002F9D
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2b149f;
/* rgb */ color: rgb(43, 20, 159);
/* oklch */ color: oklch(35.1% 0.200 276.0);
Tailwind
colors: {
  custom: {
    50: '#7959bd',
    500: '#2b149f',
    950: '#000000',
  },
}
SCSS
$custom: #2b149f;
$custom-light: #7959bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b149f",
  "rgb": {
    "r": 43,
    "g": 20,
    "b": 159
  },
  "hsl": {
    "h": 249.928,
    "s": 77.654,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35067,
    "c": 0.20022,
    "h": 276
  },
  "luminance": 0.03517
}

Semantic roles & 50–950 ramp

primary
#2B149F
secondary
#B3C846
accent
#F434D4
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2B149F

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

Preview Lab → · Contrast checker → · Palette generator →

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