#2D2D76#2D2D76

#2D2D76 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.122 H 277.9°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#2D2D76
RGBrgb(45, 45, 118)
HSLhsl(240, 45%, 32%)
HSVhsv(240, 62%, 46%)
CMYKcmyk(61.9%, 61.9%, 0%, 53.7%)
CIE-LABlab(22.80, 23.65, -42.01)
CIE-LCHlch(22.80, 48.21, 299.38°)
OKLaboklab(34.41% 0.0167 -0.1207)
OKLCHoklch(34.41% 0.122 277.9)
XYZxyz(5.2895, 3.7423, 17.5796)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2D76 #76762D
analogous
#2D5276 #2D2D76 #522D76
triadic
#2D2D76 #762D2D #2D762D
tetradic
#2D2D76 #762D52 #76762D #2D7652
square
#2D2D76 #762D52 #76762D #2D7652
split-complementary
#2D2D76 #76522D #52762D
monochromatic
#0B0B1D #1C1C4A #2D2D76 #3E3EA2 #5C5CC1

Accessibility & contrast

On white

12.01
#2D2D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2D2D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2D76
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2D76#FFFFFF#000000##FFFFFF
##2D2D761.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A78
Deuteranopia (green-blind)
#003375
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2d2d76;
/* rgb */ color: rgb(45, 45, 118);
/* oklch */ color: oklch(34.4% 0.122 277.9);
Tailwind
colors: {
  custom: {
    50: '#6e669e',
    500: '#2d2d76',
    950: '#000000',
  },
}
SCSS
$custom: #2d2d76;
$custom-light: #6e669e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2d76",
  "rgb": {
    "r": 45,
    "g": 45,
    "b": 118
  },
  "hsl": {
    "h": 240,
    "s": 44.785,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34407,
    "c": 0.12184,
    "h": 277.9
  },
  "luminance": 0.03743
}

Semantic roles & 50–950 ramp

primary
#2D2D76
secondary
#A7A757
accent
#D453D4
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #2D2D76

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

Preview Lab → · Contrast checker → · Palette generator →

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