#2D2D56#2D2D56

#2D2D56 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.9% C 0.072 H 281.5°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#2D2D56
RGBrgb(45, 45, 86)
HSLhsl(240, 31%, 26%)
HSVhsv(240, 48%, 34%)
CMYKcmyk(47.7%, 47.7%, 0%, 66.3%)
CIE-LABlab(20.47, 12.28, -24.91)
CIE-LCHlch(20.47, 27.77, 296.23°)
OKLaboklab(31.91% 0.0144 -0.0705)
OKLCHoklch(31.91% 0.072 281.5)
XYZxyz(3.6998, 3.1064, 9.2069)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2D56 #56562D
analogous
#2D4156 #2D2D56 #412D56
triadic
#2D2D56 #562D2D #2D562D
tetradic
#2D2D56 #562D41 #56562D #2D5641
square
#2D2D56 #562D41 #56562D #2D5641
split-complementary
#2D2D56 #56412D #41562D
monochromatic
#0B0B14 #18182E #2D2D56 #42427E #5757A6

Accessibility & contrast

On white

12.95
#2D2D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2D56
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2D56#FFFFFF#000000##FFFFFF
##2D2D561.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3358
Deuteranopia (green-blind)
#1B3055
Tritanopia (blue-blind)
#20353D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d2d56;
/* rgb */ color: rgb(45, 45, 86);
/* oklch */ color: oklch(31.9% 0.072 281.5);
Tailwind
colors: {
  custom: {
    50: '#686586',
    500: '#2d2d56',
    950: '#000000',
  },
}
SCSS
$custom: #2d2d56;
$custom-light: #686586;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2d56",
  "rgb": {
    "r": 45,
    "g": 45,
    "b": 86
  },
  "hsl": {
    "h": 240,
    "s": 31.298,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31912,
    "c": 0.07191,
    "h": 281.5
  },
  "luminance": 0.03107
}

Semantic roles & 50–950 ramp

primary
#2D2D56
secondary
#888857
accent
#C760C7
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06050B
muted
#7A7A7C

Preview Lab

Preview with #2D2D56

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

Preview Lab → · Contrast checker → · Palette generator →

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