#2D2E45#2D2E45

#2D2E45 is a dark, muted blue. Relative luminance 0.029; OKLCH L 31.1% C 0.041 H 281.8°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#2D2E45
RGBrgb(45, 46, 69)
HSLhsl(238, 21%, 22%)
HSVhsv(238, 35%, 27%)
CMYKcmyk(34.8%, 33.3%, 0%, 72.9%)
CIE-LABlab(19.81, 5.97, -14.50)
CIE-LCHlch(19.81, 15.69, 292.38°)
OKLaboklab(31.09% 0.0084 -0.0403)
OKLCHoklch(31.09% 0.041 281.8)
XYZxyz(3.1331, 2.9415, 6.0318)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2E45 #45442D
analogous
#2D3A45 #2D2E45 #382D45
triadic
#2D2E45 #452D2E #2E452D
tetradic
#2D2E45 #452D3A #45442D #2D4538
square
#2D2E45 #452D3A #45442D #2D4538
split-complementary
#2D2E45 #45382D #3A452D
monochromatic
#0C0C13 #151520 #2D2E45 #45476A #5D5F8F

Accessibility & contrast

On white

13.22
#2D2E45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2D2E45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2E45
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2E45#FFFFFF#000000##FFFFFF
##2D2E451.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273146
Deuteranopia (green-blind)
#262F44
Tritanopia (blue-blind)
#273236
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2d2e45;
/* rgb */ color: rgb(45, 46, 69);
/* oklch */ color: oklch(31.1% 0.041 281.8);
Tailwind
colors: {
  custom: {
    50: '#666678',
    500: '#2d2e45',
    950: '#000000',
  },
}
SCSS
$custom: #2d2e45;
$custom-light: #666678;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2e45",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 69
  },
  "hsl": {
    "h": 237.5,
    "s": 21.053,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31092,
    "c": 0.04113,
    "h": 281.8
  },
  "luminance": 0.02942
}

Semantic roles & 50–950 ramp

primary
#2D2E45
secondary
#767558
accent
#BA6ABE
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060609
muted
#7A7A7B

Preview Lab

Preview with #2D2E45

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

Preview Lab → · Contrast checker → · Palette generator →

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