#2A3754#2A3754

#2A3754 is a dark, muted blue. Relative luminance 0.039; OKLCH L 33.9% C 0.054 H 265.2°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#2A3754
RGBrgb(42, 55, 84)
HSLhsl(221, 33%, 25%)
HSVhsv(221, 50%, 33%)
CMYKcmyk(50%, 34.5%, 0%, 67.1%)
CIE-LABlab(23.22, 3.72, -19.26)
CIE-LCHlch(23.22, 19.62, 280.92°)
OKLaboklab(33.93% -0.0045 -0.054)
OKLCHoklch(33.93% 0.054 265.2)
XYZxyz(3.9208, 3.8645, 8.9251)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3754 #54472A
analogous
#2A4C54 #2A3754 #322A54
triadic
#2A3754 #542A37 #37542A
tetradic
#2A3754 #542A4C #54472A #2A5432
square
#2A3754 #542A4C #54472A #2A5432
split-complementary
#2A3754 #54322A #4C542A
monochromatic
#0A0D14 #161C2B #2A3754 #3E527D #536CA6

Accessibility & contrast

On white

11.84
#2A3754 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2A3754 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3754
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3754#FFFFFF#000000##FFFFFF
##2A37541.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3955
Deuteranopia (green-blind)
#283653
Tritanopia (blue-blind)
#1A3D41
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2a3754;
/* rgb */ color: rgb(42, 55, 84);
/* oklch */ color: oklch(33.9% 0.054 265.2);
Tailwind
colors: {
  custom: {
    50: '#666d84',
    500: '#2a3754',
    950: '#000000',
  },
}
SCSS
$custom: #2a3754;
$custom-light: #666d84;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3754",
  "rgb": {
    "r": 42,
    "g": 55,
    "b": 84
  },
  "hsl": {
    "h": 221.429,
    "s": 33.333,
    "l": 24.706
  },
  "oklch": {
    "l": 0.3393,
    "c": 0.05422,
    "h": 265.2
  },
  "luminance": 0.03865
}

Semantic roles & 50–950 ramp

primary
#2A3754
secondary
#867753
accent
#A85EC9
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06070B
muted
#7A7A7C

Preview Lab

Preview with #2A3754

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

Preview Lab → · Contrast checker → · Palette generator →

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