#2D2B60#2D2B60

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

Color values

HEX#2D2B60
RGBrgb(45, 43, 96)
HSLhsl(242, 38%, 27%)
HSVhsv(242, 55%, 38%)
CMYKcmyk(53.1%, 55.2%, 0%, 62.4%)
CIE-LABlab(20.56, 17.16, -31.38)
CIE-LCHlch(20.56, 35.77, 298.67°)
OKLaboklab(32.2% 0.0185 -0.0895)
OKLCHoklch(32.2% 0.091 281.7)
XYZxyz(4.0567, 3.1300, 11.4544)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2B60 #5E602B
analogous
#2B4460 #2D2B60 #482B60
triadic
#2D2B60 #602D2B #2B602D
tetradic
#2D2B60 #602B44 #5E602B #2B6048
square
#2D2B60 #602B44 #5E602B #2B6048
split-complementary
#2D2B60 #60482B #44602B
monochromatic
#0A0915 #191836 #2D2B60 #413E8A #5753B2

Accessibility & contrast

On white

12.92
#2D2B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2D2B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2B60
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2B60#FFFFFF#000000##FFFFFF
##2D2B601.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113362
Deuteranopia (green-blind)
#0C305F
Tritanopia (blue-blind)
#1A3741
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2d2b60;
/* rgb */ color: rgb(45, 43, 96);
/* oklch */ color: oklch(32.2% 0.091 281.7);
Tailwind
colors: {
  custom: {
    50: '#6a648d',
    500: '#2d2b60',
    950: '#000000',
  },
}
SCSS
$custom: #2d2b60;
$custom-light: #6a648d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2b60",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 96
  },
  "hsl": {
    "h": 242.264,
    "s": 38.129,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32199,
    "c": 0.09135,
    "h": 281.7
  },
  "luminance": 0.0313
}

Semantic roles & 50–950 ramp

primary
#2D2B60
secondary
#909255
accent
#CE5ACA
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #2D2B60

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

Preview Lab → · Contrast checker → · Palette generator →

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