#2D314C#2D314C

#2D314C is a dark, muted blue. Relative luminance 0.033; OKLCH L 32.2% C 0.048 H 276.9°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#2D314C
RGBrgb(45, 49, 76)
HSLhsl(232, 26%, 24%)
HSVhsv(232, 41%, 30%)
CMYKcmyk(40.8%, 35.5%, 0%, 70.2%)
CIE-LABlab(21.12, 6.11, -17.20)
CIE-LCHlch(21.12, 18.25, 289.57°)
OKLaboklab(32.22% 0.0058 -0.048)
OKLCHoklch(32.22% 0.048 276.9)
XYZxyz(3.4846, 3.2762, 7.2848)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D314C #4C482D
analogous
#2D404C #2D314C #382D4C
triadic
#2D314C #4C2D31 #314C2D
tetradic
#2D314C #4C2D40 #4C482D #2D4C38
square
#2D314C #4C2D40 #4C482D #2D4C38
split-complementary
#2D314C #4C382D #404C2D
monochromatic
#0B0C13 #161826 #2D314C #444A72 #5B6399

Accessibility & contrast

On white

12.69
#2D314C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2D314C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D314C
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D314C#FFFFFF#000000##FFFFFF
##2D314C1.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28344D
Deuteranopia (green-blind)
#26324B
Tritanopia (blue-blind)
#24363B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2d314c;
/* rgb */ color: rgb(45, 49, 76);
/* oklch */ color: oklch(32.2% 0.048 276.9);
Tailwind
colors: {
  custom: {
    50: '#67687e',
    500: '#2d314c',
    950: '#000000',
  },
}
SCSS
$custom: #2d314c;
$custom-light: #67687e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d314c",
  "rgb": {
    "r": 45,
    "g": 49,
    "b": 76
  },
  "hsl": {
    "h": 232.258,
    "s": 25.62,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32223,
    "c": 0.04836,
    "h": 276.9
  },
  "luminance": 0.03276
}

Semantic roles & 50–950 ramp

primary
#2D314C
secondary
#7D7957
accent
#B666C2
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #2D314C

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

Preview Lab → · Contrast checker → · Palette generator →

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