#2B2389#2B2389

#2B2389 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.161 H 277.2°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#2B2389
RGBrgb(43, 35, 137)
HSLhsl(245, 59%, 34%)
HSVhsv(245, 74%, 54%)
CMYKcmyk(68.6%, 74.5%, 0%, 46.3%)
CIE-LABlab(22.02, 36.42, -55.29)
CIE-LCHlch(22.02, 66.21, 303.38°)
OKLaboklab(34.34% 0.0202 -0.1597)
OKLCHoklch(34.34% 0.161 277.2)
XYZxyz(6.1112, 3.5213, 24.0197)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2389 #818923
analogous
#234E89 #2B2389 #5E2389
triadic
#2B2389 #892B23 #23892B
tetradic
#2B2389 #89234E #818923 #23895E
square
#2B2389 #89234E #818923 #23895E
split-complementary
#2B2389 #895E23 #4E8923
monochromatic
#0C0A28 #1C1758 #2B2389 #3A2FBA #5D53D3

Accessibility & contrast

On white

12.32
#2B2389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2389
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2389#FFFFFF#000000##FFFFFF
##2B23891.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#003087
Tritanopia (blue-blind)
#004054
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2b2389;
/* rgb */ color: rgb(43, 35, 137);
/* oklch */ color: oklch(34.3% 0.161 277.2);
Tailwind
colors: {
  custom: {
    50: '#725fac',
    500: '#2b2389',
    950: '#000000',
  },
}
SCSS
$custom: #2b2389;
$custom-light: #725fac;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2389",
  "rgb": {
    "r": 43,
    "g": 35,
    "b": 137
  },
  "hsl": {
    "h": 244.706,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34343,
    "c": 0.16098,
    "h": 277.2
  },
  "luminance": 0.03522
}

Semantic roles & 50–950 ramp

primary
#2B2389
secondary
#AFB751
accent
#E245D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2B2389

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

Preview Lab → · Contrast checker → · Palette generator →

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