#2B1989#2B1989

#2B1989 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.0% C 0.171 H 278.8°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#2B1989
RGBrgb(43, 25, 137)
HSLhsl(250, 69%, 32%)
HSVhsv(250, 82%, 54%)
CMYKcmyk(68.6%, 81.8%, 0%, 46.3%)
CIE-LABlab(20.10, 41.89, -58.46)
CIE-LCHlch(20.10, 71.92, 305.62°)
OKLaboklab(32.99% 0.026 -0.1688)
OKLCHoklch(32.99% 0.171 278.8)
XYZxyz(5.8578, 3.0145, 23.9352)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1989 #778919
analogous
#193F89 #2B1989 #631989
triadic
#2B1989 #892B19 #19892B
tetradic
#2B1989 #89193F #778919 #198963
square
#2B1989 #89193F #778919 #198963
split-complementary
#2B1989 #896319 #3F8919
monochromatic
#0B0621 #1B1055 #2B1989 #3B22BD #5940DC

Accessibility & contrast

On white

13.10
#2B1989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2B1989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1989
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1989#FFFFFF#000000##FFFFFF
##2B19891.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358C
Deuteranopia (green-blind)
#002C87
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2b1989;
/* rgb */ color: rgb(43, 25, 137);
/* oklch */ color: oklch(33.0% 0.171 278.8);
Tailwind
colors: {
  custom: {
    50: '#735aad',
    500: '#2b1989',
    950: '#000000',
  },
}
SCSS
$custom: #2b1989;
$custom-light: #735aad;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1989",
  "rgb": {
    "r": 43,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 249.643,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32993,
    "c": 0.17083,
    "h": 278.8
  },
  "luminance": 0.03015
}

Semantic roles & 50–950 ramp

primary
#2B1989
secondary
#A9BC41
accent
#EC3CD0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2B1989

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

Preview Lab → · Contrast checker → · Palette generator →

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