#2D2D6D#2D2D6D

#2D2D6D is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.6% C 0.108 H 278.8°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#2D2D6D
RGBrgb(45, 45, 109)
HSLhsl(240, 42%, 30%)
HSVhsv(240, 59%, 43%)
CMYKcmyk(58.7%, 58.7%, 0%, 57.3%)
CIE-LABlab(22.08, 20.41, -37.39)
CIE-LCHlch(22.08, 42.60, 298.62°)
OKLaboklab(33.65% 0.0167 -0.1071)
OKLCHoklch(33.65% 0.108 278.8)
XYZxyz(4.7800, 3.5385, 14.8961)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2D6D #6D6D2D
analogous
#2D4D6D #2D2D6D #4D2D6D
triadic
#2D2D6D #6D2D2D #2D6D2D
tetradic
#2D2D6D #6D2D4D #6D6D2D #2D6D4D
square
#2D2D6D #6D2D4D #6D6D2D #2D6D4D
split-complementary
#2D2D6D #6D4D2D #4D6D2D
monochromatic
#090916 #1B1B42 #2D2D6D #3F3F98 #5A5ABB

Accessibility & contrast

On white

12.30
#2D2D6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2D2D6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2D6D
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2D6D#FFFFFF#000000##FFFFFF
##2D2D6D1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01376F
Deuteranopia (green-blind)
#00326C
Tritanopia (blue-blind)
#0C3C48
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2d2d6d;
/* rgb */ color: rgb(45, 45, 109);
/* oklch */ color: oklch(33.6% 0.108 278.8);
Tailwind
colors: {
  custom: {
    50: '#6c6697',
    500: '#2d2d6d',
    950: '#000000',
  },
}
SCSS
$custom: #2d2d6d;
$custom-light: #6c6697;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2d6d",
  "rgb": {
    "r": 45,
    "g": 45,
    "b": 109
  },
  "hsl": {
    "h": 240,
    "s": 41.558,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33648,
    "c": 0.10842,
    "h": 278.8
  },
  "luminance": 0.03539
}

Semantic roles & 50–950 ramp

primary
#2D2D6D
secondary
#9F9F57
accent
#D156D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050D
muted
#7A7A7E

Preview Lab

Preview with #2D2D6D

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

Preview Lab → · Contrast checker → · Palette generator →

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