#2A2E48#2A2E48

#2A2E48 is a dark, muted blue. Relative luminance 0.029; OKLCH L 31.0% C 0.047 H 276.6°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#2A2E48
RGBrgb(42, 46, 72)
HSLhsl(232, 26%, 22%)
HSVhsv(232, 42%, 28%)
CMYKcmyk(41.7%, 36.1%, 0%, 71.8%)
CIE-LABlab(19.70, 5.91, -16.74)
CIE-LCHlch(19.70, 17.75, 289.45°)
OKLaboklab(30.99% 0.0054 -0.0467)
OKLCHoklch(30.99% 0.047 276.6)
XYZxyz(3.1012, 2.9140, 6.5287)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E48 #48442A
analogous
#2A3D48 #2A2E48 #352A48
triadic
#2A2E48 #482A2E #2E482A
tetradic
#2A2E48 #482A3D #48442A #2A4835
square
#2A2E48 #482A3D #48442A #2A4835
split-complementary
#2A2E48 #48352A #3D482A
monochromatic
#0B0C13 #131521 #2A2E48 #41476F #575F95

Accessibility & contrast

On white

13.27
#2A2E48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2E48
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E48#FFFFFF#000000##FFFFFF
##2A2E481.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263149
Deuteranopia (green-blind)
#242F47
Tritanopia (blue-blind)
#213337
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2a2e48;
/* rgb */ color: rgb(42, 46, 72);
/* oklch */ color: oklch(31.0% 0.047 276.6);
Tailwind
colors: {
  custom: {
    50: '#65667b',
    500: '#2a2e48',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e48;
$custom-light: #65667b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e48",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 72
  },
  "hsl": {
    "h": 232,
    "s": 26.316,
    "l": 22.353
  },
  "oklch": {
    "l": 0.3099,
    "c": 0.04706,
    "h": 276.6
  },
  "luminance": 0.02914
}

Semantic roles & 50–950 ramp

primary
#2A2E48
secondary
#7A7554
accent
#B665C3
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#050609
muted
#7A7A7B

Preview Lab

Preview with #2A2E48

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

Preview Lab → · Contrast checker → · Palette generator →

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