#2D2A50#2D2A50

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

Color values

HEX#2D2A50
RGBrgb(45, 42, 80)
HSLhsl(245, 31%, 24%)
HSVhsv(245, 48%, 31%)
CMYKcmyk(43.7%, 47.5%, 0%, 68.6%)
CIE-LABlab(19.19, 12.36, -22.91)
CIE-LCHlch(19.19, 26.03, 298.34°)
OKLaboklab(30.83% 0.0177 -0.0646)
OKLCHoklch(30.83% 0.067 285.3)
XYZxyz(3.3577, 2.7929, 7.9500)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2A50 #4D502A
analogous
#2A3A50 #2D2A50 #402A50
triadic
#2D2A50 #502D2A #2A502D
tetradic
#2D2A50 #502A3A #4D502A #2A5040
square
#2D2A50 #502A3A #4D502A #2A5040
split-complementary
#2D2A50 #50402A #3A502A
monochromatic
#0B0B14 #161528 #2D2A50 #443F78 #5A54A0

Accessibility & contrast

On white

13.47
#2D2A50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2A50
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2A50#FFFFFF#000000##FFFFFF
##2D2A501.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3051
Deuteranopia (green-blind)
#1B2D4F
Tritanopia (blue-blind)
#233239
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2d2a50;
/* rgb */ color: rgb(45, 42, 80);
/* oklch */ color: oklch(30.8% 0.067 285.3);
Tailwind
colors: {
  custom: {
    50: '#686381',
    500: '#2d2a50',
    950: '#000000',
  },
}
SCSS
$custom: #2d2a50;
$custom-light: #686381;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2a50",
  "rgb": {
    "r": 45,
    "g": 42,
    "b": 80
  },
  "hsl": {
    "h": 244.737,
    "s": 31.148,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30825,
    "c": 0.06702,
    "h": 285.3
  },
  "luminance": 0.02793
}

Semantic roles & 50–950 ramp

primary
#2D2A50
secondary
#7F8254
accent
#C760BF
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#06050A
muted
#7A797C

Preview Lab

Preview with #2D2A50

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

Preview Lab → · Contrast checker → · Palette generator →

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