#2D2B4F#2D2B4F

#2D2B4F is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.0% C 0.064 H 284.6°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#2D2B4F
RGBrgb(45, 43, 79)
HSLhsl(243, 30%, 24%)
HSVhsv(243, 46%, 31%)
CMYKcmyk(43%, 45.6%, 0%, 69%)
CIE-LABlab(19.43, 11.32, -21.86)
CIE-LCHlch(19.43, 24.62, 297.38°)
OKLaboklab(30.99% 0.016 -0.0616)
OKLCHoklch(30.99% 0.064 284.6)
XYZxyz(3.3569, 2.8500, 7.7689)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2B4F #4D4F2B
analogous
#2B3B4F #2D2B4F #3F2B4F
triadic
#2D2B4F #4F2D2B #2B4F2D
tetradic
#2D2B4F #4F2B3B #4D4F2B #2B4F3F
square
#2D2B4F #4F2B3B #4D4F2B #2B4F3F
split-complementary
#2D2B4F #4F3F2B #3B4F2B
monochromatic
#0B0B14 #161527 #2D2B4F #444177 #5A569E

Accessibility & contrast

On white

13.38
#2D2B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2D2B4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2B4F
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2B4F#FFFFFF#000000##FFFFFF
##2D2B4F1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3050
Deuteranopia (green-blind)
#1D2E4E
Tritanopia (blue-blind)
#233239
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2d2b4f;
/* rgb */ color: rgb(45, 43, 79);
/* oklch */ color: oklch(31.0% 0.064 284.6);
Tailwind
colors: {
  custom: {
    50: '#686480',
    500: '#2d2b4f',
    950: '#000000',
  },
}
SCSS
$custom: #2d2b4f;
$custom-light: #686480;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2b4f",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 79
  },
  "hsl": {
    "h": 243.333,
    "s": 29.508,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30986,
    "c": 0.06361,
    "h": 284.6
  },
  "luminance": 0.0285
}

Semantic roles & 50–950 ramp

primary
#2D2B4F
secondary
#7F8155
accent
#C662C0
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#06050A
muted
#7A797C

Preview Lab

Preview with #2D2B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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