#2D2B57#2D2B57

#2D2B57 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.5% C 0.077 H 283.1°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#2D2B57
RGBrgb(45, 43, 87)
HSLhsl(243, 34%, 25%)
HSVhsv(243, 51%, 34%)
CMYKcmyk(48.3%, 50.6%, 0%, 65.9%)
CIE-LABlab(19.94, 14.03, -26.42)
CIE-LCHlch(19.94, 29.91, 297.97°)
OKLaboklab(31.53% 0.0174 -0.0749)
OKLCHoklch(31.53% 0.077 283.1)
XYZxyz(3.6659, 2.9736, 9.3958)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2B57 #55572B
analogous
#2B3F57 #2D2B57 #432B57
triadic
#2D2B57 #572D2B #2B572D
tetradic
#2D2B57 #572B3F #55572B #2B5743
square
#2D2B57 #572B3F #55572B #2B5743
split-complementary
#2D2B57 #57432B #3F572B
monochromatic
#0B0A14 #18172E #2D2B57 #423F80 #5753A9

Accessibility & contrast

On white

13.17
#2D2B57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2B57
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2B57#FFFFFF#000000##FFFFFF
##2D2B571.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193259
Deuteranopia (green-blind)
#172F56
Tritanopia (blue-blind)
#1F343C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2d2b57;
/* rgb */ color: rgb(45, 43, 87);
/* oklch */ color: oklch(31.5% 0.077 283.1);
Tailwind
colors: {
  custom: {
    50: '#696487',
    500: '#2d2b57',
    950: '#000000',
  },
}
SCSS
$custom: #2d2b57;
$custom-light: #696487;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2b57",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 87
  },
  "hsl": {
    "h": 242.727,
    "s": 33.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31533,
    "c": 0.07688,
    "h": 283.1
  },
  "luminance": 0.02974
}

Semantic roles & 50–950 ramp

primary
#2D2B57
secondary
#878955
accent
#CA5EC5
background
#F6F5F8
surface
#EBEAEF
border
#C6C6CA
text
#06050B
muted
#7A797C

Preview Lab

Preview with #2D2B57

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

Preview Lab → · Contrast checker → · Palette generator →

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