#2A2D4E#2A2D4E

#2A2D4E is a dark, muted blue. Relative luminance 0.029; OKLCH L 31.1% C 0.059 H 278.4°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#2A2D4E
RGBrgb(42, 45, 78)
HSLhsl(235, 30%, 24%)
HSVhsv(235, 46%, 31%)
CMYKcmyk(46.2%, 42.3%, 0%, 69.4%)
CIE-LABlab(19.72, 8.64, -20.76)
CIE-LCHlch(19.72, 22.48, 292.59°)
OKLaboklab(31.12% 0.0087 -0.0584)
OKLCHoklch(31.12% 0.059 278.4)
XYZxyz(3.2680, 2.9189, 7.5975)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2D4E #4E4B2A
analogous
#2A3F4E #2A2D4E #392A4E
triadic
#2A2D4E #4E2A2D #2D4E2A
tetradic
#2A2D4E #4E2A3F #4E4B2A #2A4E39
square
#2A2D4E #4E2A3F #4E4B2A #2A4E39
split-complementary
#2A2D4E #4E392A #3F4E2A
monochromatic
#0B0B14 #151626 #2A2D4E #3F4476 #555B9E

Accessibility & contrast

On white

13.26
#2A2D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2D4E
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2D4E#FFFFFF#000000##FFFFFF
##2A2D4E1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a2d4e;
/* rgb */ color: rgb(42, 45, 78);
/* oklch */ color: oklch(31.1% 0.059 278.4);
Tailwind
colors: {
  custom: {
    50: '#656580',
    500: '#2a2d4e',
    950: '#000000',
  },
}
SCSS
$custom: #2a2d4e;
$custom-light: #656580;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2d4e",
  "rgb": {
    "r": 42,
    "g": 45,
    "b": 78
  },
  "hsl": {
    "h": 235,
    "s": 30,
    "l": 23.529
  },
  "oklch": {
    "l": 0.31116,
    "c": 0.05905,
    "h": 278.4
  },
  "luminance": 0.02919
}

Semantic roles & 50–950 ramp

primary
#2A2D4E
secondary
#807C54
accent
#BE62C6
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06050A
muted
#7A7A7C

Preview Lab

Preview with #2A2D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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