#2A3654#2A3654

#2A3654 is a dark, muted blue. Relative luminance 0.038; OKLCH L 33.7% C 0.056 H 266.8°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#2A3654
RGBrgb(42, 54, 84)
HSLhsl(223, 33%, 25%)
HSVhsv(223, 50%, 33%)
CMYKcmyk(50%, 35.7%, 0%, 67.1%)
CIE-LABlab(22.90, 4.41, -19.76)
CIE-LCHlch(22.90, 20.25, 282.57°)
OKLaboklab(33.68% -0.0031 -0.0555)
OKLCHoklch(33.68% 0.056 266.8)
XYZxyz(3.8737, 3.7704, 8.9094)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3654 #54482A
analogous
#2A4B54 #2A3654 #332A54
triadic
#2A3654 #542A36 #36542A
tetradic
#2A3654 #542A4B #54482A #2A5433
square
#2A3654 #542A4B #54482A #2A5433
split-complementary
#2A3654 #54332A #4B542A
monochromatic
#0A0D14 #161C2B #2A3654 #3E507D #536AA6

Accessibility & contrast

On white

11.97
#2A3654 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2A3654 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3654
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3654#FFFFFF#000000##FFFFFF
##2A36541.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3955
Deuteranopia (green-blind)
#273553
Tritanopia (blue-blind)
#1A3C41
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2a3654;
/* rgb */ color: rgb(42, 54, 84);
/* oklch */ color: oklch(33.7% 0.056 266.8);
Tailwind
colors: {
  custom: {
    50: '#666c84',
    500: '#2a3654',
    950: '#000000',
  },
}
SCSS
$custom: #2a3654;
$custom-light: #666c84;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3654",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 84
  },
  "hsl": {
    "h": 222.857,
    "s": 33.333,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33681,
    "c": 0.05558,
    "h": 266.8
  },
  "luminance": 0.03771
}

Semantic roles & 50–950 ramp

primary
#2A3654
secondary
#867853
accent
#AB5EC9
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06070B
muted
#7A7A7C

Preview Lab

Preview with #2A3654

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

Preview Lab → · Contrast checker → · Palette generator →

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