#2D2DB6#2D2DB6

#2D2DB6 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.7% C 0.207 H 272.4°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#2D2DB6
RGBrgb(45, 45, 182)
HSLhsl(240, 60%, 45%)
HSVhsv(240, 75%, 71%)
CMYKcmyk(75.3%, 75.3%, 0%, 28.6%)
CIE-LABlab(28.93, 45.95, -71.31)
CIE-LCHlch(28.93, 84.83, 302.80°)
OKLaboklab(40.69% 0.0087 -0.2064)
OKLCHoklch(40.69% 0.207 272.4)
XYZxyz(10.4612, 5.8110, 44.8172)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2DB6 #B6B62D
analogous
#2D72B6 #2D2DB6 #722DB6
triadic
#2D2DB6 #B62D2D #2DB62D
tetradic
#2D2DB6 #B62D72 #B6B62D #2DB672
square
#2D2DB6 #B62D72 #B6B62D #2DB672
split-complementary
#2D2DB6 #B6722D #72B62D
monochromatic
#151554 #212185 #2D2DB6 #4D4DD3 #7E7EDF

Accessibility & contrast

On white

9.71
#2D2DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2D2DB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2DB6
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2DB6#FFFFFF#000000##FFFFFF
##2D2DB61.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBA
Deuteranopia (green-blind)
#003DB4
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d2db6;
/* rgb */ color: rgb(45, 45, 182);
/* oklch */ color: oklch(40.7% 0.207 272.4);
Tailwind
colors: {
  custom: {
    50: '#7d68cd',
    500: '#2d2db6',
    950: '#000000',
  },
}
SCSS
$custom: #2d2db6;
$custom-light: #7d68cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2db6",
  "rgb": {
    "r": 45,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 240,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40693,
    "c": 0.20656,
    "h": 272.4
  },
  "luminance": 0.05812
}

Semantic roles & 50–950 ramp

primary
#2D2DB6
secondary
#C8C877
accent
#E344E3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2D2DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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