#2D2D60#2D2D60

#2D2D60 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.6% C 0.088 H 280.3°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#2D2D60
RGBrgb(45, 45, 96)
HSLhsl(240, 36%, 28%)
HSVhsv(240, 53%, 38%)
CMYKcmyk(53.1%, 53.1%, 0%, 62.4%)
CIE-LABlab(21.13, 15.76, -30.47)
CIE-LCHlch(21.13, 34.30, 297.36°)
OKLaboklab(32.63% 0.0158 -0.0867)
OKLCHoklch(32.63% 0.088 280.3)
XYZxyz(4.1312, 3.2790, 11.4793)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2D60 #60602D
analogous
#2D4660 #2D2D60 #462D60
triadic
#2D2D60 #602D2D #2D602D
tetradic
#2D2D60 #602D46 #60602D #2D6046
square
#2D2D60 #602D46 #60602D #2D6046
split-complementary
#2D2D60 #60462D #46602D
monochromatic
#0A0A15 #191936 #2D2D60 #41418A #5757B0

Accessibility & contrast

On white

12.68
#2D2D60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2D2D60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2D60
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2D60#FFFFFF#000000##FFFFFF
##2D2D601.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153562
Deuteranopia (green-blind)
#11315F
Tritanopia (blue-blind)
#193842
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2d2d60;
/* rgb */ color: rgb(45, 45, 96);
/* oklch */ color: oklch(32.6% 0.088 280.3);
Tailwind
colors: {
  custom: {
    50: '#6a658d',
    500: '#2d2d60',
    950: '#000000',
  },
}
SCSS
$custom: #2d2d60;
$custom-light: #6a658d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2d60",
  "rgb": {
    "r": 45,
    "g": 45,
    "b": 96
  },
  "hsl": {
    "h": 240,
    "s": 36.17,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32628,
    "c": 0.08818,
    "h": 280.3
  },
  "luminance": 0.03279
}

Semantic roles & 50–950 ramp

primary
#2D2D60
secondary
#929257
accent
#CC5CCC
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07050C
muted
#7A7A7D

Preview Lab

Preview with #2D2D60

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

Preview Lab → · Contrast checker → · Palette generator →

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