#2A2E3C#2A2E3C

#2A2E3C is a dark, muted blue. Relative luminance 0.028; OKLCH L 30.3% C 0.026 H 272.3°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#2A2E3C
RGBrgb(42, 46, 60)
HSLhsl(227, 18%, 20%)
HSVhsv(227, 30%, 24%)
CMYKcmyk(30%, 23.3%, 0%, 76.5%)
CIE-LABlab(19.11, 2.12, -9.45)
CIE-LCHlch(19.11, 9.68, 282.63°)
OKLaboklab(30.34% 0.0011 -0.0259)
OKLCHoklch(30.34% 0.026 272.3)
XYZxyz(2.7472, 2.7724, 4.6645)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E3C #3C382A
analogous
#2A373C #2A2E3C #2F2A3C
triadic
#2A2E3C #3C2A2E #2E3C2A
tetradic
#2A2E3C #3C2A37 #3C382A #2A3C2F
square
#2A2E3C #3C2A37 #3C382A #2A3C2F
split-complementary
#2A2E3C #3C2F2A #373C2A
monochromatic
#0D0E12 #111218 #2A2E3C #434A60 #5C6584

Accessibility & contrast

On white

13.51
#2A2E3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2E3C
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E3C#FFFFFF#000000##FFFFFF
##2A2E3C1.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2F3D
Deuteranopia (green-blind)
#292E3C
Tritanopia (blue-blind)
#253133
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2a2e3c;
/* rgb */ color: rgb(42, 46, 60);
/* oklch */ color: oklch(30.3% 0.026 272.3);
Tailwind
colors: {
  custom: {
    50: '#646671',
    500: '#2a2e3c',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e3c;
$custom-light: #646671;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e3c",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 60
  },
  "hsl": {
    "h": 226.667,
    "s": 17.647,
    "l": 20
  },
  "oklch": {
    "l": 0.3034,
    "c": 0.02596,
    "h": 272.3
  },
  "luminance": 0.02772
}

Semantic roles & 50–950 ramp

primary
#2A2E3C
secondary
#6D6855
accent
#A96DBA
background
#F5F6F6
surface
#EAEBEC
border
#C6C6C7
text
#050607
muted
#797A7A

Preview Lab

Preview with #2A2E3C

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

Preview Lab → · Contrast checker → · Palette generator →

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