#2A2C4C#2A2C4C

#2A2C4C is a dark, muted blue. Relative luminance 0.028; OKLCH L 30.7% C 0.057 H 279.7°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#2A2C4C
RGBrgb(42, 44, 76)
HSLhsl(236, 29%, 23%)
HSVhsv(236, 45%, 30%)
CMYKcmyk(44.7%, 42.1%, 0%, 70.2%)
CIE-LABlab(19.29, 8.66, -20.08)
CIE-LCHlch(19.29, 21.87, 293.34°)
OKLaboklab(30.75% 0.0097 -0.0564)
OKLCHoklch(30.75% 0.057 279.7)
XYZxyz(3.1597, 2.8153, 7.2130)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2C4C #4C4A2A
analogous
#2A3D4C #2A2C4C #392A4C
triadic
#2A2C4C #4C2A2C #2C4C2A
tetradic
#2A2C4C #4C2A3D #4C4A2A #2A4C39
square
#2A2C4C #4C2A3D #4C4A2A #2A4C39
split-complementary
#2A2C4C #4C392A #3D4C2A
monochromatic
#0B0B14 #141525 #2A2C4C #404373 #565A9B

Accessibility & contrast

On white

13.44
#2A2C4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#2A2C4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2C4C
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2C4C#FFFFFF#000000##FFFFFF
##2A2C4C1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21304D
Deuteranopia (green-blind)
#1F2E4B
Tritanopia (blue-blind)
#203238
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2a2c4c;
/* rgb */ color: rgb(42, 44, 76);
/* oklch */ color: oklch(30.7% 0.057 279.7);
Tailwind
colors: {
  custom: {
    50: '#65657e',
    500: '#2a2c4c',
    950: '#000000',
  },
}
SCSS
$custom: #2a2c4c;
$custom-light: #65657e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2c4c",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 76
  },
  "hsl": {
    "h": 236.471,
    "s": 28.814,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30749,
    "c": 0.05728,
    "h": 279.7
  },
  "luminance": 0.02815
}

Semantic roles & 50–950 ramp

primary
#2A2C4C
secondary
#7E7C54
accent
#BF63C5
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06050A
muted
#7A7A7C

Preview Lab

Preview with #2A2C4C

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

Preview Lab → · Contrast checker → · Palette generator →

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