#2A2844#2A2844

#2A2844 is a dark, muted blue. Relative luminance 0.024; OKLCH L 29.3% C 0.050 H 286.1°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#2A2844
RGBrgb(42, 40, 68)
HSLhsl(244, 26%, 21%)
HSVhsv(244, 41%, 27%)
CMYKcmyk(38.2%, 41.2%, 0%, 73.3%)
CIE-LABlab(17.59, 8.86, -17.31)
CIE-LCHlch(17.59, 19.44, 297.10°)
OKLaboklab(29.3% 0.014 -0.0484)
OKLCHoklch(29.3% 0.05 286.1)
XYZxyz(2.7567, 2.4271, 5.7910)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2844 #424428
analogous
#283444 #2A2844 #382844
triadic
#2A2844 #442A28 #28442A
tetradic
#2A2844 #442834 #424428 #284438
square
#2A2844 #442834 #424428 #284438
split-complementary
#2A2844 #443828 #344428
monochromatic
#0C0B13 #12111D #2A2844 #423F6B #5A5591

Accessibility & contrast

On white

14.14
#2A2844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#2A2844 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2844
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2844#FFFFFF#000000##FFFFFF
##2A28441.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2C45
Deuteranopia (green-blind)
#1F2A43
Tritanopia (blue-blind)
#232D32
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2a2844;
/* rgb */ color: rgb(42, 40, 68);
/* oklch */ color: oklch(29.3% 0.050 286.1);
Tailwind
colors: {
  custom: {
    50: '#646178',
    500: '#2a2844',
    950: '#000000',
  },
}
SCSS
$custom: #2a2844;
$custom-light: #646178;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2844",
  "rgb": {
    "r": 42,
    "g": 40,
    "b": 68
  },
  "hsl": {
    "h": 244.286,
    "s": 25.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29295,
    "c": 0.05038,
    "h": 286.1
  },
  "luminance": 0.02427
}

Semantic roles & 50–950 ramp

primary
#2A2844
secondary
#737652
accent
#C265BC
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#050509
muted
#7A797B

Preview Lab

Preview with #2A2844

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

Preview Lab → · Contrast checker → · Palette generator →

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