#2D2A4E#2D2A4E

#2D2A4E is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.7% C 0.064 H 285.8°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#2D2A4E
RGBrgb(45, 42, 78)
HSLhsl(245, 30%, 24%)
HSVhsv(245, 46%, 31%)
CMYKcmyk(42.3%, 46.2%, 0%, 69.4%)
CIE-LABlab(19.07, 11.69, -21.76)
CIE-LCHlch(19.07, 24.70, 298.26°)
OKLaboklab(30.69% 0.0173 -0.0613)
OKLCHoklch(30.69% 0.064 285.8)
XYZxyz(3.2849, 2.7638, 7.5666)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2A4E #4B4E2A
analogous
#2A394E #2D2A4E #3F2A4E
triadic
#2D2A4E #4E2D2A #2A4E2D
tetradic
#2D2A4E #4E2A39 #4B4E2A #2A4E3F
square
#2D2A4E #4E2A39 #4B4E2A #2A4E3F
split-complementary
#2D2A4E #4E3F2A #394E2A
monochromatic
#0B0B14 #161526 #2D2A4E #443F76 #5B559E

Accessibility & contrast

On white

13.52
#2D2A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#2D2A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2A4E
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2A4E#FFFFFF#000000##FFFFFF
##2D2A4E1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2F4F
Deuteranopia (green-blind)
#1D2D4D
Tritanopia (blue-blind)
#243138
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2d2a4e;
/* rgb */ color: rgb(45, 42, 78);
/* oklch */ color: oklch(30.7% 0.064 285.8);
Tailwind
colors: {
  custom: {
    50: '#686380',
    500: '#2d2a4e',
    950: '#000000',
  },
}
SCSS
$custom: #2d2a4e;
$custom-light: #686380;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2a4e",
  "rgb": {
    "r": 45,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 245,
    "s": 30,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30692,
    "c": 0.06367,
    "h": 285.8
  },
  "luminance": 0.02764
}

Semantic roles & 50–950 ramp

primary
#2D2A4E
secondary
#7C8054
accent
#C662BE
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#06050A
muted
#7A797C

Preview Lab

Preview with #2D2A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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