#2A3046#2A3046

#2A3046 is a dark, muted blue. Relative luminance 0.030; OKLCH L 31.4% C 0.040 H 272.2°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#2A3046
RGBrgb(42, 48, 70)
HSLhsl(227, 25%, 22%)
HSVhsv(227, 40%, 27%)
CMYKcmyk(40%, 31.4%, 0%, 72.5%)
CIE-LABlab(20.24, 3.85, -14.54)
CIE-LCHlch(20.24, 15.04, 284.84°)
OKLaboklab(31.37% 0.0015 -0.0404)
OKLCHoklch(31.37% 0.04 272.2)
XYZxyz(3.1170, 3.0482, 6.2173)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3046 #46402A
analogous
#2A3E46 #2A3046 #322A46
triadic
#2A3046 #462A30 #30462A
tetradic
#2A3046 #462A3E #46402A #2A4632
square
#2A3046 #462A3E #46402A #2A4632
split-complementary
#2A3046 #46322A #3E462A
monochromatic
#0B0D13 #131620 #2A3046 #414A6C #586493

Accessibility & contrast

On white

13.05
#2A3046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2A3046 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3046
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3046#FFFFFF#000000##FFFFFF
##2A30461.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293247
Deuteranopia (green-blind)
#273045
Tritanopia (blue-blind)
#223438
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2a3046;
/* rgb */ color: rgb(42, 48, 70);
/* oklch */ color: oklch(31.4% 0.040 272.2);
Tailwind
colors: {
  custom: {
    50: '#646879',
    500: '#2a3046',
    950: '#000000',
  },
}
SCSS
$custom: #2a3046;
$custom-light: #646879;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3046",
  "rgb": {
    "r": 42,
    "g": 48,
    "b": 70
  },
  "hsl": {
    "h": 227.143,
    "s": 25,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31374,
    "c": 0.04046,
    "h": 272.2
  },
  "luminance": 0.03048
}

Semantic roles & 50–950 ramp

primary
#2A3046
secondary
#787054
accent
#AE66C1
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#050609
muted
#7A7A7B

Preview Lab

Preview with #2A3046

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

Preview Lab → · Contrast checker → · Palette generator →

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