#2D2A4F#2D2A4F

#2D2A4F is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.8% C 0.065 H 285.6°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#2D2A4F
RGBrgb(45, 42, 79)
HSLhsl(245, 31%, 24%)
HSVhsv(245, 47%, 31%)
CMYKcmyk(43%, 46.8%, 0%, 69%)
CIE-LABlab(19.13, 12.03, -22.34)
CIE-LCHlch(19.13, 25.37, 298.30°)
OKLaboklab(30.76% 0.0176 -0.0629)
OKLCHoklch(30.76% 0.065 285.6)
XYZxyz(3.3210, 2.7782, 7.7569)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2A4F #4C4F2A
analogous
#2A394F #2D2A4F #3F2A4F
triadic
#2D2A4F #4F2D2A #2A4F2D
tetradic
#2D2A4F #4F2A39 #4C4F2A #2A4F3F
square
#2D2A4F #4F2A39 #4C4F2A #2A4F3F
split-complementary
#2D2A4F #4F3F2A #394F2A
monochromatic
#0B0B14 #161527 #2D2A4F #443F77 #5B549F

Accessibility & contrast

On white

13.50
#2D2A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#2D2A4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2A4F
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2A4F#FFFFFF#000000##FFFFFF
##2D2A4F1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2F50
Deuteranopia (green-blind)
#1C2D4E
Tritanopia (blue-blind)
#233138
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2d2a4f;
/* rgb */ color: rgb(45, 42, 79);
/* oklch */ color: oklch(30.8% 0.065 285.6);
Tailwind
colors: {
  custom: {
    50: '#686380',
    500: '#2d2a4f',
    950: '#000000',
  },
}
SCSS
$custom: #2d2a4f;
$custom-light: #686380;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2a4f",
  "rgb": {
    "r": 45,
    "g": 42,
    "b": 79
  },
  "hsl": {
    "h": 244.865,
    "s": 30.579,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30758,
    "c": 0.06534,
    "h": 285.6
  },
  "luminance": 0.02778
}

Semantic roles & 50–950 ramp

primary
#2D2A4F
secondary
#7D8154
accent
#C761BF
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#06050A
muted
#7A797C

Preview Lab

Preview with #2D2A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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