#2B2C80#2B2C80

#2B2C80 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.138 H 276.0°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#2B2C80
RGBrgb(43, 44, 128)
HSLhsl(239, 50%, 34%)
HSVhsv(239, 66%, 50%)
CMYKcmyk(66.4%, 65.6%, 0%, 49.8%)
CIE-LABlab(23.25, 27.59, -47.63)
CIE-LCHlch(23.25, 55.04, 300.08°)
OKLaboklab(34.96% 0.0145 -0.1373)
OKLCHoklch(34.96% 0.138 276)
XYZxyz(5.7920, 3.8730, 20.8602)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2C80 #807F2B
analogous
#2B5680 #2B2C80 #542B80
triadic
#2B2C80 #802B2C #2C802B
tetradic
#2B2C80 #802B56 #807F2B #2B8054
square
#2B2C80 #802B56 #807F2B #2B8054
split-complementary
#2B2C80 #80542B #56802B
monochromatic
#0C0D24 #1C1C52 #2B2C80 #3A3CAE #5D5EC9

Accessibility & contrast

On white

11.83
#2B2C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2B2C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2C80
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2C80#FFFFFF#000000##FFFFFF
##2B2C801.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#00347E
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b2c80;
/* rgb */ color: rgb(43, 44, 128);
/* oklch */ color: oklch(35.0% 0.138 276.0);
Tailwind
colors: {
  custom: {
    50: '#6f65a6',
    500: '#2b2c80',
    950: '#000000',
  },
}
SCSS
$custom: #2b2c80;
$custom-light: #6f65a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2c80",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 128
  },
  "hsl": {
    "h": 239.294,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34963,
    "c": 0.13805,
    "h": 276
  },
  "luminance": 0.03873
}

Semantic roles & 50–950 ramp

primary
#2B2C80
secondary
#AEAD58
accent
#D84FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F

Preview Lab

Preview with #2B2C80

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

Preview Lab → · Contrast checker → · Palette generator →

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