#2A3554#2A3554

#2A3554 is a dark, muted blue. Relative luminance 0.037; OKLCH L 33.4% C 0.057 H 268.4°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#2A3554
RGBrgb(42, 53, 84)
HSLhsl(224, 33%, 25%)
HSVhsv(224, 50%, 33%)
CMYKcmyk(50%, 36.9%, 0%, 67.1%)
CIE-LABlab(22.58, 5.10, -20.26)
CIE-LCHlch(22.58, 20.90, 284.12°)
OKLaboklab(33.43% -0.0016 -0.0569)
OKLCHoklch(33.43% 0.057 268.4)
XYZxyz(3.8277, 3.6783, 8.8941)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3554 #54492A
analogous
#2A4A54 #2A3554 #342A54
triadic
#2A3554 #542A35 #35542A
tetradic
#2A3554 #542A4A #54492A #2A5434
square
#2A3554 #542A4A #54492A #2A5434
split-complementary
#2A3554 #54342A #4A542A
monochromatic
#0A0D14 #161B2B #2A3554 #3E4F7D #5368A6

Accessibility & contrast

On white

12.10
#2A3554 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2A3554 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3554
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3554#FFFFFF#000000##FFFFFF
##2A35541.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3855
Deuteranopia (green-blind)
#253453
Tritanopia (blue-blind)
#1A3B40
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2a3554;
/* rgb */ color: rgb(42, 53, 84);
/* oklch */ color: oklch(33.4% 0.057 268.4);
Tailwind
colors: {
  custom: {
    50: '#666c84',
    500: '#2a3554',
    950: '#000000',
  },
}
SCSS
$custom: #2a3554;
$custom-light: #666c84;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3554",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 84
  },
  "hsl": {
    "h": 224.286,
    "s": 33.333,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33433,
    "c": 0.05696,
    "h": 268.4
  },
  "luminance": 0.03679
}

Semantic roles & 50–950 ramp

primary
#2A3554
secondary
#867953
accent
#AD5EC9
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06060B
muted
#7A7A7C

Preview Lab

Preview with #2A3554

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

Preview Lab → · Contrast checker → · Palette generator →

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