#2D2E40#2D2E40

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

Color values

HEX#2D2E40
RGBrgb(45, 46, 64)
HSLhsl(237, 17%, 21%)
HSVhsv(237, 30%, 25%)
CMYKcmyk(29.7%, 28.1%, 0%, 74.9%)
CIE-LABlab(19.57, 4.44, -11.47)
CIE-LCHlch(19.57, 12.30, 291.18°)
OKLaboklab(30.82% 0.0066 -0.0316)
OKLCHoklch(30.82% 0.032 281.8)
XYZxyz(2.9844, 2.8820, 5.2485)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2E40 #403F2D
analogous
#2D3840 #2D2E40 #362D40
triadic
#2D2E40 #402D2E #2E402D
tetradic
#2D2E40 #402D38 #403F2D #2D4036
square
#2D2E40 #402D38 #403F2D #2D4036
split-complementary
#2D2E40 #40362D #38402D
monochromatic
#0D0D12 #14141C #2D2E40 #464864 #606288

Accessibility & contrast

On white

13.32
#2D2E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2D2E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2E40
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2E40#FFFFFF#000000##FFFFFF
##2D2E401.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293041
Deuteranopia (green-blind)
#282F40
Tritanopia (blue-blind)
#283134
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2d2e40;
/* rgb */ color: rgb(45, 46, 64);
/* oklch */ color: oklch(30.8% 0.032 281.8);
Tailwind
colors: {
  custom: {
    50: '#666674',
    500: '#2d2e40',
    950: '#000000',
  },
}
SCSS
$custom: #2d2e40;
$custom-light: #666674;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2e40",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 64
  },
  "hsl": {
    "h": 236.842,
    "s": 17.431,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30824,
    "c": 0.03229,
    "h": 281.8
  },
  "luminance": 0.02882
}

Semantic roles & 50–950 ramp

primary
#2D2E40
secondary
#716F58
accent
#B66EBA
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060608
muted
#7A7A7B

Preview Lab

Preview with #2D2E40

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

Preview Lab → · Contrast checker → · Palette generator →

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