#2A2D4D#2A2D4D

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

Color values

HEX#2A2D4D
RGBrgb(42, 45, 77)
HSLhsl(235, 29%, 23%)
HSVhsv(235, 45%, 30%)
CMYKcmyk(45.5%, 41.6%, 0%, 69.8%)
CIE-LABlab(19.66, 8.30, -20.18)
CIE-LCHlch(19.66, 21.81, 292.35°)
OKLaboklab(31.05% 0.0084 -0.0567)
OKLCHoklch(31.05% 0.057 278.4)
XYZxyz(3.2324, 2.9047, 7.4101)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2D4D #4D4A2A
analogous
#2A3E4D #2A2D4D #382A4D
triadic
#2A2D4D #4D2A2D #2D4D2A
tetradic
#2A2D4D #4D2A3E #4D4A2A #2A4D38
square
#2A2D4D #4D2A3E #4D4A2A #2A4D38
split-complementary
#2A2D4D #4D382A #3E4D2A
monochromatic
#0B0C14 #141625 #2A2D4D #404475 #555B9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A2D4D#FFFFFF#000000##FFFFFF
##2A2D4D1.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)
#22314E
Deuteranopia (green-blind)
#202E4C
Tritanopia (blue-blind)
#1F3339
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2a2d4d;
/* rgb */ color: rgb(42, 45, 77);
/* oklch */ color: oklch(31.1% 0.057 278.4);
Tailwind
colors: {
  custom: {
    50: '#65657f',
    500: '#2a2d4d',
    950: '#000000',
  },
}
SCSS
$custom: #2a2d4d;
$custom-light: #65657f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2d4d",
  "rgb": {
    "r": 42,
    "g": 45,
    "b": 77
  },
  "hsl": {
    "h": 234.857,
    "s": 29.412,
    "l": 23.333
  },
  "oklch": {
    "l": 0.31052,
    "c": 0.05734,
    "h": 278.4
  },
  "luminance": 0.02905
}

Semantic roles & 50–950 ramp

primary
#2A2D4D
secondary
#7F7B54
accent
#BD62C6
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06050A
muted
#7A7A7C

Preview Lab

Preview with #2A2D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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