#2A3757#2A3757

#2A3757 is a dark, muted blue. Relative luminance 0.039; OKLCH L 34.1% C 0.059 H 266.5°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#2A3757
RGBrgb(42, 55, 87)
HSLhsl(223, 35%, 25%)
HSVhsv(223, 52%, 34%)
CMYKcmyk(51.7%, 36.8%, 0%, 65.9%)
CIE-LABlab(23.38, 4.77, -20.99)
CIE-LCHlch(23.38, 21.52, 282.79°)
OKLaboklab(34.11% -0.0036 -0.059)
OKLCHoklch(34.11% 0.059 266.5)
XYZxyz(4.0408, 3.9125, 9.5572)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3757 #574A2A
analogous
#2A4D57 #2A3757 #332A57
triadic
#2A3757 #572A37 #37572A
tetradic
#2A3757 #572A4D #574A2A #2A5733
square
#2A3757 #572A4D #574A2A #2A5733
split-complementary
#2A3757 #57332A #4D572A
monochromatic
#0A0D15 #161D2E #2A3757 #3E5180 #526BAA

Accessibility & contrast

On white

11.78
#2A3757 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2A3757 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3757
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3757#FFFFFF#000000##FFFFFF
##2A37571.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3A58
Deuteranopia (green-blind)
#263656
Tritanopia (blue-blind)
#183E43
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2a3757;
/* rgb */ color: rgb(42, 55, 87);
/* oklch */ color: oklch(34.1% 0.059 266.5);
Tailwind
colors: {
  custom: {
    50: '#666d86',
    500: '#2a3757',
    950: '#000000',
  },
}
SCSS
$custom: #2a3757;
$custom-light: #666d86;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3757",
  "rgb": {
    "r": 42,
    "g": 55,
    "b": 87
  },
  "hsl": {
    "h": 222.667,
    "s": 34.884,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34108,
    "c": 0.05914,
    "h": 266.5
  },
  "luminance": 0.03913
}

Semantic roles & 50–950 ramp

primary
#2A3757
secondary
#897A53
accent
#AB5DCB
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06070B
muted
#7A7A7C

Preview Lab

Preview with #2A3757

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

Preview Lab → · Contrast checker → · Palette generator →

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