#2B2C6B#2B2C6B

#2B2C6B is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.1% C 0.107 H 278.1°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#2B2C6B
RGBrgb(43, 44, 107)
HSLhsl(239, 43%, 29%)
HSVhsv(239, 60%, 42%)
CMYKcmyk(59.8%, 58.9%, 0%, 58%)
CIE-LABlab(21.49, 19.95, -37.07)
CIE-LCHlch(21.49, 42.09, 298.29°)
OKLaboklab(33.12% 0.0151 -0.1062)
OKLCHoklch(33.12% 0.107 278.1)
XYZxyz(4.5499, 3.3762, 14.3190)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2C6B #6B6A2B
analogous
#2B4C6B #2B2C6B #4A2B6B
triadic
#2B2C6B #6B2B2C #2C6B2B
tetradic
#2B2C6B #6B2B4C #6B6A2B #2B6B4A
square
#2B2C6B #6B2B4C #6B6A2B #2B6B4A
split-complementary
#2B2C6B #6B4A2B #4C6B2B
monochromatic
#090916 #191A3F #2B2C6B #3D3E97 #5657BB

Accessibility & contrast

On white

12.54
#2B2C6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2B2C6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2C6B
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2C6B#FFFFFF#000000##FFFFFF
##2B2C6B1.0012.541.6812.54
#FFFFFF12.541.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366D
Deuteranopia (green-blind)
#00316A
Tritanopia (blue-blind)
#073B47
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2b2c6b;
/* rgb */ color: rgb(43, 44, 107);
/* oklch */ color: oklch(33.1% 0.107 278.1);
Tailwind
colors: {
  custom: {
    50: '#6b6596',
    500: '#2b2c6b',
    950: '#000000',
  },
}
SCSS
$custom: #2b2c6b;
$custom-light: #6b6596;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2c6b",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 107
  },
  "hsl": {
    "h": 239.063,
    "s": 42.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33117,
    "c": 0.1073,
    "h": 278.1
  },
  "luminance": 0.03376
}

Semantic roles & 50–950 ramp

primary
#2B2C6B
secondary
#9D9C55
accent
#D055D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050D
muted
#7A7A7E

Preview Lab

Preview with #2B2C6B

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

Preview Lab → · Contrast checker → · Palette generator →

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