#3A4254#3A4254

#3A4254 is a dark, muted blue. Relative luminance 0.054; OKLCH L 37.9% C 0.033 H 266.1°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#3A4254
RGBrgb(58, 66, 84)
HSLhsl(222, 18%, 28%)
HSVhsv(222, 31%, 33%)
CMYKcmyk(31%, 21.4%, 0%, 67.1%)
CIE-LABlab(27.94, 1.53, -11.86)
CIE-LCHlch(27.94, 11.96, 277.35°)
OKLaboklab(37.93% -0.0022 -0.0326)
OKLCHoklch(37.93% 0.033 266.1)
XYZxyz(5.2929, 5.4359, 9.1561)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4254 #544C3A
analogous
#3A4F54 #3A4254 #3F3A54
triadic
#3A4254 #543A42 #42543A
tetradic
#3A4254 #543A4F #544C3A #3A543F
square
#3A4254 #543A4F #544C3A #3A543F
split-complementary
#3A4254 #543F3A #4F543A
monochromatic
#0C0E12 #212630 #3A4254 #535E78 #6E7C9B

Accessibility & contrast

On white

10.06
#3A4254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3A4254 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4254
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4254#FFFFFF#000000##FFFFFF
##3A42541.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4355
Deuteranopia (green-blind)
#3A4154
Tritanopia (blue-blind)
#334648
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3a4254;
/* rgb */ color: rgb(58, 66, 84);
/* oklch */ color: oklch(37.9% 0.033 266.1);
Tailwind
colors: {
  custom: {
    50: '#717684',
    500: '#3a4254',
    950: '#000000',
  },
}
SCSS
$custom: #3a4254;
$custom-light: #717684;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4254",
  "rgb": {
    "r": 58,
    "g": 66,
    "b": 84
  },
  "hsl": {
    "h": 221.538,
    "s": 18.31,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37929,
    "c": 0.03267,
    "h": 266.1
  },
  "luminance": 0.05436
}

Semantic roles & 50–950 ramp

primary
#3A4254
secondary
#847B66
accent
#A36DBB
background
#F6F7F8
surface
#ECEDEF
border
#C7C8CA
text
#07080A
muted
#7A7B7C

Preview Lab

Preview with #3A4254

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

Preview Lab → · Contrast checker → · Palette generator →

#3A4254 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva