#2A3752#2A3752

#2A3752 is a dark, muted blue. Relative luminance 0.038; OKLCH L 33.8% C 0.051 H 264.2°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#2A3752
RGBrgb(42, 55, 82)
HSLhsl(221, 32%, 24%)
HSVhsv(221, 49%, 32%)
CMYKcmyk(48.8%, 32.9%, 0%, 67.8%)
CIE-LABlab(23.11, 3.03, -18.10)
CIE-LCHlch(23.11, 18.35, 279.49°)
OKLaboklab(33.81% -0.0052 -0.0507)
OKLCHoklch(33.81% 0.051 264.2)
XYZxyz(3.8435, 3.8336, 8.5184)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3752 #52452A
analogous
#2A4B52 #2A3752 #312A52
triadic
#2A3752 #522A37 #37522A
tetradic
#2A3752 #522A4B #52452A #2A5231
square
#2A3752 #522A4B #52452A #2A5231
split-complementary
#2A3752 #52312A #4B522A
monochromatic
#0A0E14 #151C2A #2A3752 #3F527A #536DA3

Accessibility & contrast

On white

11.89
#2A3752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3752
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3752#FFFFFF#000000##FFFFFF
##2A37521.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3953
Deuteranopia (green-blind)
#293551
Tritanopia (blue-blind)
#1B3D41
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2a3752;
/* rgb */ color: rgb(42, 55, 82);
/* oklch */ color: oklch(33.8% 0.051 264.2);
Tailwind
colors: {
  custom: {
    50: '#666d82',
    500: '#2a3752',
    950: '#000000',
  },
}
SCSS
$custom: #2a3752;
$custom-light: #666d82;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3752",
  "rgb": {
    "r": 42,
    "g": 55,
    "b": 82
  },
  "hsl": {
    "h": 220.5,
    "s": 32.258,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33814,
    "c": 0.05094,
    "h": 264.2
  },
  "luminance": 0.03834
}

Semantic roles & 50–950 ramp

primary
#2A3752
secondary
#847454
accent
#A65FC8
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06070A
muted
#7A7A7C

Preview Lab

Preview with #2A3752

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

Preview Lab → · Contrast checker → · Palette generator →

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