#2A2E3A#2A2E3A

#2A2E3A is a dark, muted blue. Relative luminance 0.028; OKLCH L 30.2% C 0.022 H 270.6°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#2A2E3A
RGBrgb(42, 46, 58)
HSLhsl(225, 16%, 20%)
HSVhsv(225, 28%, 23%)
CMYKcmyk(27.6%, 20.7%, 0%, 77.3%)
CIE-LABlab(19.02, 1.52, -8.21)
CIE-LCHlch(19.02, 8.35, 280.52°)
OKLaboklab(30.24% 0.0002 -0.0224)
OKLCHoklch(30.24% 0.022 270.6)
XYZxyz(2.6954, 2.7517, 4.3913)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E3A #3A362A
analogous
#2A363A #2A2E3A #2E2A3A
triadic
#2A2E3A #3A2A2E #2E3A2A
tetradic
#2A2E3A #3A2A36 #3A362A #2A3A2E
square
#2A2E3A #3A2A36 #3A362A #2A3A2E
split-complementary
#2A2E3A #3A2E2A #363A2A
monochromatic
#0D0E12 #101217 #2A2E3A #444A5D #5D6681

Accessibility & contrast

On white

13.54
#2A2E3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2E3A
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E3A#FFFFFF#000000##FFFFFF
##2A2E3A1.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2F3B
Deuteranopia (green-blind)
#292E3A
Tritanopia (blue-blind)
#263032
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2a2e3a;
/* rgb */ color: rgb(42, 46, 58);
/* oklch */ color: oklch(30.2% 0.022 270.6);
Tailwind
colors: {
  custom: {
    50: '#636670',
    500: '#2a2e3a',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e3a;
$custom-light: #636670;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e3a",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 58
  },
  "hsl": {
    "h": 225,
    "s": 16,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30242,
    "c": 0.02245,
    "h": 270.6
  },
  "luminance": 0.02752
}

Semantic roles & 50–950 ramp

primary
#2A2E3A
secondary
#6B6555
accent
#A66FB9
background
#F5F6F6
surface
#EAEBEC
border
#C6C6C7
text
#050607
muted
#797A7A

Preview Lab

Preview with #2A2E3A

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

Preview Lab → · Contrast checker → · Palette generator →

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