#2B2C8B#2B2C8B

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

Color values

HEX#2B2C8B
RGBrgb(43, 44, 139)
HSLhsl(239, 53%, 36%)
HSVhsv(239, 69%, 55%)
CMYKcmyk(69.1%, 68.3%, 0%, 45.5%)
CIE-LABlab(24.25, 31.55, -52.87)
CIE-LCHlch(24.25, 61.57, 300.82°)
OKLaboklab(36.01% 0.0135 -0.1526)
OKLCHoklch(36.01% 0.153 275.1)
XYZxyz(6.5556, 4.1784, 24.8821)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2C8B #8B8A2B
analogous
#2B5C8B #2B2C8B #5A2B8B
triadic
#2B2C8B #8B2B2C #2C8B2B
tetradic
#2B2C8B #8B2B5C #8B8A2B #2B8B5A
square
#2B2C8B #8B2B5C #8B8A2B #2B8B5A
split-complementary
#2B2C8B #8B5A2B #5C8B2B
monochromatic
#0E0E2E #1D1D5C #2B2C8B #393BBA #6263CE

Accessibility & contrast

On white

11.44
#2B2C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2C8B
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2C8B#FFFFFF#000000##FFFFFF
##2B2C8B1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2c8b;
/* rgb */ color: rgb(43, 44, 139);
/* oklch */ color: oklch(36.0% 0.153 275.1);
Tailwind
colors: {
  custom: {
    50: '#7265ae',
    500: '#2b2c8b',
    950: '#000000',
  },
}
SCSS
$custom: #2b2c8b;
$custom-light: #7265ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2c8b",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 239.375,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36006,
    "c": 0.15325,
    "h": 275.1
  },
  "luminance": 0.04179
}

Semantic roles & 50–950 ramp

primary
#2B2C8B
secondary
#B5B45D
accent
#DB4CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2B2C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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