#2D2D45#2D2D45

#2D2D45 is a dark, muted blue. Relative luminance 0.029; OKLCH L 30.8% C 0.043 H 283.6°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#2D2D45
RGBrgb(45, 45, 69)
HSLhsl(240, 21%, 22%)
HSVhsv(240, 35%, 27%)
CMYKcmyk(34.8%, 34.8%, 0%, 72.9%)
CIE-LABlab(19.49, 6.68, -14.99)
CIE-LCHlch(19.49, 16.41, 294.00°)
OKLaboklab(30.85% 0.0101 -0.0417)
OKLCHoklch(30.85% 0.043 283.6)
XYZxyz(3.0945, 2.8642, 6.0189)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2D45 #45452D
analogous
#2D3945 #2D2D45 #392D45
triadic
#2D2D45 #452D2D #2D452D
tetradic
#2D2D45 #452D39 #45452D #2D4539
square
#2D2D45 #452D39 #45452D #2D4539
split-complementary
#2D2D45 #45392D #39452D
monochromatic
#0C0C13 #151520 #2D2D45 #45456A #5D5D8F

Accessibility & contrast

On white

13.35
#2D2D45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2D2D45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2D45
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2D45#FFFFFF#000000##FFFFFF
##2D2D451.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263046
Deuteranopia (green-blind)
#252E44
Tritanopia (blue-blind)
#273136
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2d2d45;
/* rgb */ color: rgb(45, 45, 69);
/* oklch */ color: oklch(30.8% 0.043 283.6);
Tailwind
colors: {
  custom: {
    50: '#666578',
    500: '#2d2d45',
    950: '#000000',
  },
}
SCSS
$custom: #2d2d45;
$custom-light: #666578;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2d45",
  "rgb": {
    "r": 45,
    "g": 45,
    "b": 69
  },
  "hsl": {
    "h": 240,
    "s": 21.053,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30848,
    "c": 0.04287,
    "h": 283.6
  },
  "luminance": 0.02864
}

Semantic roles & 50–950 ramp

primary
#2D2D45
secondary
#767658
accent
#BE6ABE
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060509
muted
#7A7A7B

Preview Lab

Preview with #2D2D45

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

Preview Lab → · Contrast checker → · Palette generator →

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