#2A2D50#2A2D50

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

Color values

HEX#2A2D50
RGBrgb(42, 45, 80)
HSLhsl(235, 31%, 24%)
HSVhsv(235, 48%, 31%)
CMYKcmyk(47.5%, 43.7%, 0%, 68.6%)
CIE-LABlab(19.83, 9.33, -21.92)
CIE-LCHlch(19.83, 23.82, 293.05°)
OKLaboklab(31.25% 0.0091 -0.0618)
OKLCHoklch(31.25% 0.062 278.4)
XYZxyz(3.3408, 2.9480, 7.9809)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2D50 #504D2A
analogous
#2A4050 #2A2D50 #3A2A50
triadic
#2A2D50 #502A2D #2D502A
tetradic
#2A2D50 #502A40 #504D2A #2A503A
square
#2A2D50 #502A40 #504D2A #2A503A
split-complementary
#2A2D50 #503A2A #40502A
monochromatic
#0B0B14 #151628 #2A2D50 #3F4478 #545AA0

Accessibility & contrast

On white

13.21
#2A2D50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2A2D50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2D50
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2D50#FFFFFF#000000##FFFFFF
##2A2D501.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203151
Deuteranopia (green-blind)
#1E2F4F
Tritanopia (blue-blind)
#1E343A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2a2d50;
/* rgb */ color: rgb(42, 45, 80);
/* oklch */ color: oklch(31.2% 0.062 278.4);
Tailwind
colors: {
  custom: {
    50: '#666581',
    500: '#2a2d50',
    950: '#000000',
  },
}
SCSS
$custom: #2a2d50;
$custom-light: #666581;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2d50",
  "rgb": {
    "r": 42,
    "g": 45,
    "b": 80
  },
  "hsl": {
    "h": 235.263,
    "s": 31.148,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31245,
    "c": 0.06246,
    "h": 278.4
  },
  "luminance": 0.02948
}

Semantic roles & 50–950 ramp

primary
#2A2D50
secondary
#827F54
accent
#BF60C7
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06050A
muted
#7A7A7C

Preview Lab

Preview with #2A2D50

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

Preview Lab → · Contrast checker → · Palette generator →

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