#2B2C84#2B2C84

#2B2C84 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.144 H 275.7°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#2B2C84
RGBrgb(43, 44, 132)
HSLhsl(239, 51%, 34%)
HSVhsv(239, 67%, 52%)
CMYKcmyk(67.4%, 66.7%, 0%, 48.2%)
CIE-LABlab(23.61, 29.03, -49.56)
CIE-LCHlch(23.61, 57.44, 300.36°)
OKLaboklab(35.34% 0.0142 -0.1429)
OKLCHoklch(35.34% 0.144 275.7)
XYZxyz(6.0604, 3.9804, 22.2742)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2C84 #84832B
analogous
#2B5984 #2B2C84 #572B84
triadic
#2B2C84 #842B2C #2C842B
tetradic
#2B2C84 #842B59 #84832B #2B8457
square
#2B2C84 #842B59 #84832B #2B8457
split-complementary
#2B2C84 #84572B #59842B
monochromatic
#0D0D28 #1C1D56 #2B2C84 #3A3BB2 #5F60CB

Accessibility & contrast

On white

11.69
#2B2C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2B2C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2C84
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2C84#FFFFFF#000000##FFFFFF
##2B2C841.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C87
Deuteranopia (green-blind)
#003482
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2b2c84;
/* rgb */ color: rgb(43, 44, 132);
/* oklch */ color: oklch(35.3% 0.144 275.7);
Tailwind
colors: {
  custom: {
    50: '#7065a9',
    500: '#2b2c84',
    950: '#000000',
  },
}
SCSS
$custom: #2b2c84;
$custom-light: #7065a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2c84",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 132
  },
  "hsl": {
    "h": 239.326,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35337,
    "c": 0.14363,
    "h": 275.7
  },
  "luminance": 0.03981
}

Semantic roles & 50–950 ramp

primary
#2B2C84
secondary
#B1B05A
accent
#D94DDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #2B2C84

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

Preview Lab → · Contrast checker → · Palette generator →

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