#2D3045#2D3045

#2D3045 is a dark, muted blue. Relative luminance 0.031; OKLCH L 31.6% C 0.038 H 277.7°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#2D3045
RGBrgb(45, 48, 69)
HSLhsl(233, 21%, 22%)
HSVhsv(233, 35%, 27%)
CMYKcmyk(34.8%, 30.4%, 0%, 72.9%)
CIE-LABlab(20.45, 4.58, -13.52)
CIE-LCHlch(20.45, 14.27, 288.71°)
OKLaboklab(31.59% 0.0051 -0.0374)
OKLCHoklch(31.59% 0.038 277.7)
XYZxyz(3.2130, 3.1014, 6.0584)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3045 #45422D
analogous
#2D3C45 #2D3045 #362D45
triadic
#2D3045 #452D30 #30452D
tetradic
#2D3045 #452D3C #45422D #2D4536
square
#2D3045 #452D3C #45422D #2D4536
split-complementary
#2D3045 #45362D #3C452D
monochromatic
#0C0D13 #151620 #2D3045 #454A6A #5D648F

Accessibility & contrast

On white

12.96
#2D3045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2D3045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3045
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3045#FFFFFF#000000##FFFFFF
##2D30451.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3246
Deuteranopia (green-blind)
#283044
Tritanopia (blue-blind)
#273437
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d3045;
/* rgb */ color: rgb(45, 48, 69);
/* oklch */ color: oklch(31.6% 0.038 277.7);
Tailwind
colors: {
  custom: {
    50: '#666878',
    500: '#2d3045',
    950: '#000000',
  },
}
SCSS
$custom: #2d3045;
$custom-light: #666878;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3045",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 69
  },
  "hsl": {
    "h": 232.5,
    "s": 21.053,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31586,
    "c": 0.03778,
    "h": 277.7
  },
  "luminance": 0.03101
}

Semantic roles & 50–950 ramp

primary
#2D3045
secondary
#767258
accent
#B36ABE
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060609
muted
#7A7A7B

Preview Lab

Preview with #2D3045

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

Preview Lab → · Contrast checker → · Palette generator →

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