#2D2A5C#2D2A5C

#2D2A5C is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.7% C 0.087 H 283.0°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#2D2A5C
RGBrgb(45, 42, 92)
HSLhsl(244, 37%, 26%)
HSVhsv(244, 54%, 36%)
CMYKcmyk(51.1%, 54.3%, 0%, 63.9%)
CIE-LABlab(19.99, 16.46, -29.66)
CIE-LCHlch(19.99, 33.92, 299.03°)
OKLaboklab(31.68% 0.0194 -0.0844)
OKLCHoklch(31.68% 0.087 283)
XYZxyz(3.8413, 2.9863, 10.4972)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2A5C #595C2A
analogous
#2A405C #2D2A5C #462A5C
triadic
#2D2A5C #5C2D2A #2A5C2D
tetradic
#2D2A5C #5C2A40 #595C2A #2A5C46
square
#2D2A5C #5C2A40 #595C2A #2A5C46
split-complementary
#2D2A5C #5C462A #405C2A
monochromatic
#0A0A15 #181732 #2D2A5C #423D86 #5751B0

Accessibility & contrast

On white

13.15
#2D2A5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2D2A5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2A5C
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2A5C#FFFFFF#000000##FFFFFF
##2D2A5C1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13325E
Deuteranopia (green-blind)
#102F5B
Tritanopia (blue-blind)
#1D353E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2d2a5c;
/* rgb */ color: rgb(45, 42, 92);
/* oklch */ color: oklch(31.7% 0.087 283.0);
Tailwind
colors: {
  custom: {
    50: '#6a638a',
    500: '#2d2a5c',
    950: '#000000',
  },
}
SCSS
$custom: #2d2a5c;
$custom-light: #6a638a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2a5c",
  "rgb": {
    "r": 45,
    "g": 42,
    "b": 92
  },
  "hsl": {
    "h": 243.6,
    "s": 37.313,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31682,
    "c": 0.0866,
    "h": 283
  },
  "luminance": 0.02987
}

Semantic roles & 50–950 ramp

primary
#2D2A5C
secondary
#8B8E53
accent
#CD5BC6
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #2D2A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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