#2B2D84#2B2D84

#2B2D84 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.142 H 275.4°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#2B2D84
RGBrgb(43, 45, 132)
HSLhsl(239, 51%, 34%)
HSVhsv(239, 67%, 52%)
CMYKcmyk(67.4%, 65.9%, 0%, 48.2%)
CIE-LABlab(23.86, 28.38, -49.15)
CIE-LCHlch(23.86, 56.75, 300.00°)
OKLaboklab(35.52% 0.0134 -0.1417)
OKLCHoklch(35.52% 0.142 275.4)
XYZxyz(6.0981, 4.0558, 22.2868)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2D84 #84822B
analogous
#2B5A84 #2B2D84 #562B84
triadic
#2B2D84 #842B2D #2D842B
tetradic
#2B2D84 #842B5A #84822B #2B8456
square
#2B2D84 #842B5A #84822B #2B8456
split-complementary
#2B2D84 #84562B #5A842B
monochromatic
#0D0E28 #1C1D56 #2B2D84 #3A3DB2 #5F61CB

Accessibility & contrast

On white

11.59
#2B2D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2B2D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2D84
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2D84#FFFFFF#000000##FFFFFF
##2B2D841.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#003582
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b2d84;
/* rgb */ color: rgb(43, 45, 132);
/* oklch */ color: oklch(35.5% 0.142 275.4);
Tailwind
colors: {
  custom: {
    50: '#7066a9',
    500: '#2b2d84',
    950: '#000000',
  },
}
SCSS
$custom: #2b2d84;
$custom-light: #7066a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2d84",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 132
  },
  "hsl": {
    "h": 238.652,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35518,
    "c": 0.14237,
    "h": 275.4
  },
  "luminance": 0.04056
}

Semantic roles & 50–950 ramp

primary
#2B2D84
secondary
#B1AF5A
accent
#D74DDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2B2D84

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

Preview Lab → · Contrast checker → · Palette generator →

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