#2B2C9A#2B2C9A

#2B2C9A is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.173 H 273.8°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#2B2C9A
RGBrgb(43, 44, 154)
HSLhsl(239, 56%, 39%)
HSVhsv(239, 72%, 60%)
CMYKcmyk(72.1%, 71.4%, 0%, 39.6%)
CIE-LABlab(25.71, 36.84, -59.74)
CIE-LCHlch(25.71, 70.19, 301.66°)
OKLaboklab(37.5% 0.0115 -0.1727)
OKLCHoklch(37.5% 0.173 273.8)
XYZxyz(7.7277, 4.6473, 31.0553)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2C9A #9A992B
analogous
#2B639A #2B2C9A #612B9A
triadic
#2B2C9A #9A2B2C #2C9A2B
tetradic
#2B2C9A #9A2B63 #9A992B #2B9A61
square
#2B2C9A #9A2B63 #9A992B #2B9A61
split-complementary
#2B2C9A #9A612B #639A2B
monochromatic
#10113A #1E1E6A #2B2C9A #3A3BC8 #6A6BD5

Accessibility & contrast

On white

10.88
#2B2C9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2B2C9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2C9A
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2C9A#FFFFFF#000000##FFFFFF
##2B2C9A1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#003898
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b2c9a;
/* rgb */ color: rgb(43, 44, 154);
/* oklch */ color: oklch(37.5% 0.173 273.8);
Tailwind
colors: {
  custom: {
    50: '#7566b9',
    500: '#2b2c9a',
    950: '#000000',
  },
}
SCSS
$custom: #2b2c9a;
$custom-light: #7566b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2c9a",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 154
  },
  "hsl": {
    "h": 239.459,
    "s": 56.345,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37497,
    "c": 0.17312,
    "h": 273.8
  },
  "luminance": 0.04648
}

Semantic roles & 50–950 ramp

primary
#2B2C9A
secondary
#BCBB65
accent
#DE48E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B2C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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