#2D2A57#2D2A57

#2D2A57 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.3% C 0.079 H 283.9°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#2D2A57
RGBrgb(45, 42, 87)
HSLhsl(244, 35%, 25%)
HSVhsv(244, 52%, 34%)
CMYKcmyk(48.3%, 51.7%, 0%, 65.9%)
CIE-LABlab(19.65, 14.73, -26.88)
CIE-LCHlch(19.65, 30.66, 298.72°)
OKLaboklab(31.31% 0.0189 -0.0762)
OKLCHoklch(31.31% 0.079 283.9)
XYZxyz(3.6299, 2.9018, 9.3838)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2A57 #54572A
analogous
#2A3D57 #2D2A57 #432A57
triadic
#2D2A57 #572D2A #2A572D
tetradic
#2D2A57 #572A3D #54572A #2A5743
square
#2D2A57 #572A3D #54572A #2A5743
split-complementary
#2D2A57 #57432A #3D572A
monochromatic
#0B0A15 #18162E #2D2A57 #423E80 #5852AA

Accessibility & contrast

On white

13.29
#2D2A57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2A57
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2A57#FFFFFF#000000##FFFFFF
##2D2A571.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173159
Deuteranopia (green-blind)
#162E56
Tritanopia (blue-blind)
#20333C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2d2a57;
/* rgb */ color: rgb(45, 42, 87);
/* oklch */ color: oklch(31.3% 0.079 283.9);
Tailwind
colors: {
  custom: {
    50: '#696387',
    500: '#2d2a57',
    950: '#000000',
  },
}
SCSS
$custom: #2d2a57;
$custom-light: #696387;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2a57",
  "rgb": {
    "r": 45,
    "g": 42,
    "b": 87
  },
  "hsl": {
    "h": 244,
    "s": 34.884,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31313,
    "c": 0.07855,
    "h": 283.9
  },
  "luminance": 0.02902
}

Semantic roles & 50–950 ramp

primary
#2D2A57
secondary
#868953
accent
#CB5DC4
background
#F6F5F8
surface
#EBEAEF
border
#C6C6CA
text
#06050B
muted
#7A797C

Preview Lab

Preview with #2D2A57

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

Preview Lab → · Contrast checker → · Palette generator →

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