#2D2D75#2D2D75

#2D2D75 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.120 H 278.0°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#2D2D75
RGBrgb(45, 45, 117)
HSLhsl(240, 44%, 32%)
HSVhsv(240, 62%, 46%)
CMYKcmyk(61.5%, 61.5%, 0%, 54.1%)
CIE-LABlab(22.72, 23.29, -41.50)
CIE-LCHlch(22.72, 47.59, 299.30°)
OKLaboklab(34.32% 0.0167 -0.1192)
OKLCHoklch(34.32% 0.12 278)
XYZxyz(5.2304, 3.7186, 17.2683)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2D75 #75752D
analogous
#2D5175 #2D2D75 #512D75
triadic
#2D2D75 #752D2D #2D752D
tetradic
#2D2D75 #752D51 #75752D #2D7551
square
#2D2D75 #752D51 #75752D #2D7551
split-complementary
#2D2D75 #75512D #51752D
monochromatic
#0B0B1D #1C1C49 #2D2D75 #3E3EA1 #5C5CC0

Accessibility & contrast

On white

12.04
#2D2D75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2D2D75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2D75
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2D75#FFFFFF#000000##FFFFFF
##2D2D751.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003977
Deuteranopia (green-blind)
#003374
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2d2d75;
/* rgb */ color: rgb(45, 45, 117);
/* oklch */ color: oklch(34.3% 0.120 278.0);
Tailwind
colors: {
  custom: {
    50: '#6e669d',
    500: '#2d2d75',
    950: '#000000',
  },
}
SCSS
$custom: #2d2d75;
$custom-light: #6e669d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2d75",
  "rgb": {
    "r": 45,
    "g": 45,
    "b": 117
  },
  "hsl": {
    "h": 240,
    "s": 44.444,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3432,
    "c": 0.12037,
    "h": 278
  },
  "luminance": 0.03719
}

Semantic roles & 50–950 ramp

primary
#2D2D75
secondary
#A6A657
accent
#D454D4
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #2D2D75

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

Preview Lab → · Contrast checker → · Palette generator →

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