#2D2A63#2D2A63

#2D2A63 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.2% C 0.098 H 281.8°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#2D2A63
RGBrgb(45, 42, 99)
HSLhsl(243, 40%, 28%)
HSVhsv(243, 58%, 39%)
CMYKcmyk(54.5%, 57.6%, 0%, 61.2%)
CIE-LABlab(20.50, 18.92, -33.45)
CIE-LCHlch(20.50, 38.43, 299.49°)
OKLaboklab(32.22% 0.0199 -0.0955)
OKLCHoklch(32.22% 0.098 281.8)
XYZxyz(4.1616, 3.1144, 12.1838)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2A63 #60632A
analogous
#2A4363 #2D2A63 #492A63
triadic
#2D2A63 #632D2A #2A632D
tetradic
#2D2A63 #632A43 #60632A #2A6349
square
#2D2A63 #632A43 #60632A #2A6349
split-complementary
#2D2A63 #63492A #43632A
monochromatic
#0A0915 #191838 #2D2A63 #413C8E #5752B6

Accessibility & contrast

On white

12.94
#2D2A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2D2A63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2A63
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2A63#FFFFFF#000000##FFFFFF
##2D2A631.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093365
Deuteranopia (green-blind)
#042F62
Tritanopia (blue-blind)
#183742
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d2a63;
/* rgb */ color: rgb(45, 42, 99);
/* oklch */ color: oklch(32.2% 0.098 281.8);
Tailwind
colors: {
  custom: {
    50: '#6b6390',
    500: '#2d2a63',
    950: '#000000',
  },
}
SCSS
$custom: #2d2a63;
$custom-light: #6b6390;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2a63",
  "rgb": {
    "r": 45,
    "g": 42,
    "b": 99
  },
  "hsl": {
    "h": 243.158,
    "s": 40.426,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32224,
    "c": 0.09761,
    "h": 281.8
  },
  "luminance": 0.03115
}

Semantic roles & 50–950 ramp

primary
#2D2A63
secondary
#929553
accent
#D058CA
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #2D2A63

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

Preview Lab → · Contrast checker → · Palette generator →

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