#2A2E46#2A2E46

#2A2E46 is a dark, muted blue. Relative luminance 0.029; OKLCH L 30.9% C 0.044 H 276.3°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#2A2E46
RGBrgb(42, 46, 70)
HSLhsl(231, 25%, 22%)
HSVhsv(231, 40%, 27%)
CMYKcmyk(40%, 34.3%, 0%, 72.5%)
CIE-LABlab(19.59, 5.25, -15.54)
CIE-LCHlch(19.59, 16.41, 288.67°)
OKLaboklab(30.87% 0.0048 -0.0433)
OKLCHoklch(30.87% 0.044 276.3)
XYZxyz(3.0370, 2.8883, 6.1906)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E46 #46422A
analogous
#2A3C46 #2A2E46 #342A46
triadic
#2A2E46 #462A2E #2E462A
tetradic
#2A2E46 #462A3C #46422A #2A4634
square
#2A2E46 #462A3C #46422A #2A4634
split-complementary
#2A2E46 #46342A #3C462A
monochromatic
#0B0D13 #131520 #2A2E46 #41476C #586093

Accessibility & contrast

On white

13.31
#2A2E46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2A2E46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2E46
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E46#FFFFFF#000000##FFFFFF
##2A2E461.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263147
Deuteranopia (green-blind)
#242E45
Tritanopia (blue-blind)
#223337
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2a2e46;
/* rgb */ color: rgb(42, 46, 70);
/* oklch */ color: oklch(30.9% 0.044 276.3);
Tailwind
colors: {
  custom: {
    50: '#646679',
    500: '#2a2e46',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e46;
$custom-light: #646679;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e46",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 70
  },
  "hsl": {
    "h": 231.429,
    "s": 25,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30874,
    "c": 0.04356,
    "h": 276.3
  },
  "luminance": 0.02888
}

Semantic roles & 50–950 ramp

primary
#2A2E46
secondary
#787354
accent
#B466C1
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#050609
muted
#7A7A7B

Preview Lab

Preview with #2A2E46

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

Preview Lab → · Contrast checker → · Palette generator →

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