#2B2D89#2B2D89

#2B2D89 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.149 H 275.0°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#2B2D89
RGBrgb(43, 45, 137)
HSLhsl(239, 52%, 35%)
HSVhsv(239, 69%, 54%)
CMYKcmyk(68.6%, 67.2%, 0%, 46.3%)
CIE-LABlab(24.31, 30.18, -51.54)
CIE-LCHlch(24.31, 59.72, 300.36°)
OKLaboklab(35.99% 0.0129 -0.1487)
OKLCHoklch(35.99% 0.149 275)
XYZxyz(6.4485, 4.1959, 24.1321)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2D89 #89872B
analogous
#2B5C89 #2B2D89 #582B89
triadic
#2B2D89 #892B2D #2D892B
tetradic
#2B2D89 #892B5C #89872B #2B8958
square
#2B2D89 #892B5C #89872B #2B8958
split-complementary
#2B2D89 #89582B #5C892B
monochromatic
#0E0E2C #1C1E5A #2B2D89 #3A3CB8 #6163CD

Accessibility & contrast

On white

11.42
#2B2D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2B2D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2D89
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2D89#FFFFFF#000000##FFFFFF
##2B2D891.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003687
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b2d89;
/* rgb */ color: rgb(43, 45, 137);
/* oklch */ color: oklch(36.0% 0.149 275.0);
Tailwind
colors: {
  custom: {
    50: '#7166ac',
    500: '#2b2d89',
    950: '#000000',
  },
}
SCSS
$custom: #2b2d89;
$custom-light: #7166ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2d89",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 238.723,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3599,
    "c": 0.14929,
    "h": 275
  },
  "luminance": 0.04197
}

Semantic roles & 50–950 ramp

primary
#2B2D89
secondary
#B3B25C
accent
#D94CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2B2D89

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

Preview Lab → · Contrast checker → · Palette generator →

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