#2D2C4E#2D2C4E

#2D2C4E is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.2% C 0.060 H 283.7°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#2D2C4E
RGBrgb(45, 44, 78)
HSLhsl(242, 28%, 24%)
HSVhsv(242, 44%, 31%)
CMYKcmyk(42.3%, 43.6%, 0%, 69.4%)
CIE-LABlab(19.68, 10.28, -20.80)
CIE-LCHlch(19.68, 23.20, 296.30°)
OKLaboklab(31.15% 0.0142 -0.0585)
OKLCHoklch(31.15% 0.06 283.7)
XYZxyz(3.3576, 2.9092, 7.5909)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2C4E #4D4E2C
analogous
#2C3C4E #2D2C4E #3E2C4E
triadic
#2D2C4E #4E2D2C #2C4E2D
tetradic
#2D2C4E #4E2C3C #4D4E2C #2C4E3E
square
#2D2C4E #4E2C3C #4D4E2C #2C4E3E
split-complementary
#2D2C4E #4E3E2C #3C4E2C
monochromatic
#0B0B14 #161627 #2D2C4E #444275 #5A589C

Accessibility & contrast

On white

13.28
#2D2C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2C4E
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2C4E#FFFFFF#000000##FFFFFF
##2D2C4E1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21314F
Deuteranopia (green-blind)
#1F2F4D
Tritanopia (blue-blind)
#243339
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2d2c4e;
/* rgb */ color: rgb(45, 44, 78);
/* oklch */ color: oklch(31.2% 0.060 283.7);
Tailwind
colors: {
  custom: {
    50: '#676580',
    500: '#2d2c4e',
    950: '#000000',
  },
}
SCSS
$custom: #2d2c4e;
$custom-light: #676580;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2c4e",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 78
  },
  "hsl": {
    "h": 241.765,
    "s": 27.869,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31152,
    "c": 0.06017,
    "h": 283.7
  },
  "luminance": 0.02909
}

Semantic roles & 50–950 ramp

primary
#2D2C4E
secondary
#7F8056
accent
#C464C1
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06050A
muted
#7A7A7C

Preview Lab

Preview with #2D2C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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