#2A3045#2A3045

#2A3045 is a dark, muted blue. Relative luminance 0.030; OKLCH L 31.3% C 0.039 H 271.7°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#2A3045
RGBrgb(42, 48, 69)
HSLhsl(227, 24%, 22%)
HSVhsv(227, 39%, 27%)
CMYKcmyk(39.1%, 30.4%, 0%, 72.9%)
CIE-LABlab(20.19, 3.53, -13.94)
CIE-LCHlch(20.19, 14.38, 284.21°)
OKLaboklab(31.32% 0.0012 -0.0387)
OKLCHoklch(31.32% 0.039 271.7)
XYZxyz(3.0857, 3.0357, 6.0524)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3045 #453F2A
analogous
#2A3E45 #2A3045 #322A45
triadic
#2A3045 #452A30 #30452A
tetradic
#2A3045 #452A3E #453F2A #2A4532
square
#2A3045 #452A3E #453F2A #2A4532
split-complementary
#2A3045 #45322A #3E452A
monochromatic
#0C0D13 #13161F #2A3045 #414A6B #586591

Accessibility & contrast

On white

13.07
#2A3045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3045
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3045#FFFFFF#000000##FFFFFF
##2A30451.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a3045;
/* rgb */ color: rgb(42, 48, 69);
/* oklch */ color: oklch(31.3% 0.039 271.7);
Tailwind
colors: {
  custom: {
    50: '#646878',
    500: '#2a3045',
    950: '#000000',
  },
}
SCSS
$custom: #2a3045;
$custom-light: #646878;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3045",
  "rgb": {
    "r": 42,
    "g": 48,
    "b": 69
  },
  "hsl": {
    "h": 226.667,
    "s": 24.324,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31319,
    "c": 0.03873,
    "h": 271.7
  },
  "luminance": 0.03036
}

Semantic roles & 50–950 ramp

primary
#2A3045
secondary
#776F54
accent
#AD67C1
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#050609
muted
#7A7A7B

Preview Lab

Preview with #2A3045

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

Preview Lab → · Contrast checker → · Palette generator →

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