#2A2C48#2A2C48

#2A2C48 is a dark, muted blue. Relative luminance 0.028; OKLCH L 30.5% C 0.050 H 279.8°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#2A2C48
RGBrgb(42, 44, 72)
HSLhsl(236, 26%, 22%)
HSVhsv(236, 42%, 28%)
CMYKcmyk(41.7%, 38.9%, 0%, 71.8%)
CIE-LABlab(19.06, 7.32, -17.73)
CIE-LCHlch(19.06, 19.18, 292.44°)
OKLaboklab(30.5% 0.0086 -0.0496)
OKLCHoklch(30.5% 0.05 279.8)
XYZxyz(3.0249, 2.7614, 6.5033)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2C48 #48462A
analogous
#2A3B48 #2A2C48 #372A48
triadic
#2A2C48 #482A2C #2C482A
tetradic
#2A2C48 #482A3B #48462A #2A4837
square
#2A2C48 #482A3B #48462A #2A4837
split-complementary
#2A2C48 #48372A #3B482A
monochromatic
#0B0C13 #131421 #2A2C48 #41446F #575B95

Accessibility & contrast

On white

13.53
#2A2C48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#2A2C48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2C48
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2C48#FFFFFF#000000##FFFFFF
##2A2C481.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232F49
Deuteranopia (green-blind)
#212D47
Tritanopia (blue-blind)
#213136
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2a2c48;
/* rgb */ color: rgb(42, 44, 72);
/* oklch */ color: oklch(30.5% 0.050 279.8);
Tailwind
colors: {
  custom: {
    50: '#65657b',
    500: '#2a2c48',
    950: '#000000',
  },
}
SCSS
$custom: #2a2c48;
$custom-light: #65657b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2c48",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 72
  },
  "hsl": {
    "h": 236,
    "s": 26.316,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30501,
    "c": 0.05036,
    "h": 279.8
  },
  "luminance": 0.02761
}

Semantic roles & 50–950 ramp

primary
#2A2C48
secondary
#7A7754
accent
#BC65C3
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#050509
muted
#7A7A7B

Preview Lab

Preview with #2A2C48

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

Preview Lab → · Contrast checker → · Palette generator →

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