#2D3151#2D3151

#2D3151 is a dark, muted blue. Relative luminance 0.033; OKLCH L 32.5% C 0.057 H 277.3°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#2D3151
RGBrgb(45, 49, 81)
HSLhsl(233, 29%, 25%)
HSVhsv(233, 44%, 32%)
CMYKcmyk(44.4%, 39.5%, 0%, 68.2%)
CIE-LABlab(21.39, 7.77, -20.12)
CIE-LCHlch(21.39, 21.57, 291.11°)
OKLaboklab(32.52% 0.0073 -0.0565)
OKLCHoklch(32.52% 0.057 277.3)
XYZxyz(3.6653, 3.3484, 8.2362)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3151 #514D2D
analogous
#2D4351 #2D3151 #3B2D51
triadic
#2D3151 #512D31 #31512D
tetradic
#2D3151 #512D43 #514D2D #2D513B
square
#2D3151 #512D43 #514D2D #2D513B
split-complementary
#2D3151 #513B2D #43512D
monochromatic
#0B0C14 #17192A #2D3151 #434978 #5961A0

Accessibility & contrast

On white

12.58
#2D3151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2D3151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3151
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3151#FFFFFF#000000##FFFFFF
##2D31511.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263552
Deuteranopia (green-blind)
#243250
Tritanopia (blue-blind)
#22373D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2d3151;
/* rgb */ color: rgb(45, 49, 81);
/* oklch */ color: oklch(32.5% 0.057 277.3);
Tailwind
colors: {
  custom: {
    50: '#686882',
    500: '#2d3151',
    950: '#000000',
  },
}
SCSS
$custom: #2d3151;
$custom-light: #686882;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3151",
  "rgb": {
    "r": 45,
    "g": 49,
    "b": 81
  },
  "hsl": {
    "h": 233.333,
    "s": 28.571,
    "l": 24.706
  },
  "oklch": {
    "l": 0.32521,
    "c": 0.05693,
    "h": 277.3
  },
  "luminance": 0.03349
}

Semantic roles & 50–950 ramp

primary
#2D3151
secondary
#837E57
accent
#BA63C5
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #2D3151

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

Preview Lab → · Contrast checker → · Palette generator →

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