#2B189D#2B189D

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

Color values

HEX#2B189D
RGBrgb(43, 24, 157)
HSLhsl(249, 73%, 35%)
HSVhsv(249, 85%, 62%)
CMYKcmyk(72.6%, 84.7%, 0%, 38.4%)
CIE-LABlab(22.30, 48.46, -67.20)
CIE-LCHlch(22.30, 82.85, 305.80°)
OKLaboklab(35.2% 0.0203 -0.1942)
OKLCHoklch(35.2% 0.195 276)
XYZxyz(7.4067, 3.6005, 32.1964)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B189D #8A9D18
analogous
#18489D #2B189D #6D189D
triadic
#2B189D #9D2B18 #189D2B
tetradic
#2B189D #9D1848 #8A9D18 #189D6D
square
#2B189D #9D1848 #8A9D18 #189D6D
split-complementary
#2B189D #9D6D18 #489D18
monochromatic
#0E0833 #1C1068 #2B189D #3A20D2 #614CE4

Accessibility & contrast

On white

12.21
#2B189D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B189D
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B189D#FFFFFF#000000##FFFFFF
##2B189D1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b189d;
/* rgb */ color: rgb(43, 24, 157);
/* oklch */ color: oklch(35.2% 0.195 276.0);
Tailwind
colors: {
  custom: {
    50: '#785bbb',
    500: '#2b189d',
    950: '#000000',
  },
}
SCSS
$custom: #2b189d;
$custom-light: #785bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b189d",
  "rgb": {
    "r": 43,
    "g": 24,
    "b": 157
  },
  "hsl": {
    "h": 248.571,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35202,
    "c": 0.19528,
    "h": 276
  },
  "luminance": 0.03601
}

Semantic roles & 50–950 ramp

primary
#2B189D
secondary
#B4C54B
accent
#F038D6
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2B189D

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

Preview Lab → · Contrast checker → · Palette generator →

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