#2B2C8D#2B2C8D

#2B2C8D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.156 H 274.9°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#2B2C8D
RGBrgb(43, 44, 141)
HSLhsl(239, 53%, 36%)
HSVhsv(239, 70%, 55%)
CMYKcmyk(69.5%, 68.8%, 0%, 44.7%)
CIE-LABlab(24.44, 32.26, -53.81)
CIE-LCHlch(24.44, 62.74, 300.95°)
OKLaboklab(36.2% 0.0133 -0.1554)
OKLCHoklch(36.2% 0.156 274.9)
XYZxyz(6.7031, 4.2374, 25.6588)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2C8D #8D8C2B
analogous
#2B5D8D #2B2C8D #5B2B8D
triadic
#2B2C8D #8D2B2C #2C8D2B
tetradic
#2B2C8D #8D2B5D #8D8C2B #2B8D5B
square
#2B2C8D #8D2B5D #8D8C2B #2B8D5B
split-complementary
#2B2C8D #8D5B2B #5D8D2B
monochromatic
#0E0F2F #1D1D5E #2B2C8D #393BBC #6364CF

Accessibility & contrast

On white

11.37
#2B2C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2B2C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2C8D
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2C8D#FFFFFF#000000##FFFFFF
##2B2C8D1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b2c8d;
/* rgb */ color: rgb(43, 44, 141);
/* oklch */ color: oklch(36.2% 0.156 274.9);
Tailwind
colors: {
  custom: {
    50: '#7265af',
    500: '#2b2c8d',
    950: '#000000',
  },
}
SCSS
$custom: #2b2c8d;
$custom-light: #7265af;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2c8d",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 239.388,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36201,
    "c": 0.15596,
    "h": 274.9
  },
  "luminance": 0.04238
}

Semantic roles & 50–950 ramp

primary
#2B2C8D
secondary
#B6B55E
accent
#DB4BDD
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2B2C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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