#2D2B64#2D2B64

#2D2B64 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.5% C 0.098 H 281.1°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#2D2B64
RGBrgb(45, 43, 100)
HSLhsl(242, 40%, 28%)
HSVhsv(242, 57%, 39%)
CMYKcmyk(55%, 57%, 0%, 60.8%)
CIE-LABlab(20.85, 18.58, -33.54)
CIE-LCHlch(20.85, 38.34, 298.98°)
OKLaboklab(32.51% 0.0187 -0.0958)
OKLCHoklch(32.51% 0.098 281.1)
XYZxyz(4.2456, 3.2055, 12.4491)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2B64 #62642B
analogous
#2B4564 #2D2B64 #492B64
triadic
#2D2B64 #642D2B #2B642D
tetradic
#2D2B64 #642B45 #62642B #2B6449
square
#2D2B64 #642B45 #62642B #2B6449
split-complementary
#2D2B64 #64492B #45642B
monochromatic
#0A0915 #1A1939 #2D2B64 #403D8F #5754B5

Accessibility & contrast

On white

12.80
#2D2B64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2D2B64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2B64
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2B64#FFFFFF#000000##FFFFFF
##2D2B641.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3466
Deuteranopia (green-blind)
#053063
Tritanopia (blue-blind)
#173843
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2d2b64;
/* rgb */ color: rgb(45, 43, 100);
/* oklch */ color: oklch(32.5% 0.098 281.1);
Tailwind
colors: {
  custom: {
    50: '#6b6491',
    500: '#2d2b64',
    950: '#000000',
  },
}
SCSS
$custom: #2d2b64;
$custom-light: #6b6491;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2b64",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 100
  },
  "hsl": {
    "h": 242.105,
    "s": 39.86,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32511,
    "c": 0.09762,
    "h": 281.1
  },
  "luminance": 0.03206
}

Semantic roles & 50–950 ramp

primary
#2D2B64
secondary
#949655
accent
#D058CC
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#07050D
muted
#7A797D

Preview Lab

Preview with #2D2B64

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

Preview Lab → · Contrast checker → · Palette generator →

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