#2D2D64#2D2D64

#2D2D64 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.9% C 0.095 H 279.9°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#2D2D64
RGBrgb(45, 45, 100)
HSLhsl(240, 38%, 28%)
HSVhsv(240, 55%, 39%)
CMYKcmyk(55%, 55%, 0%, 60.8%)
CIE-LABlab(21.41, 17.18, -32.63)
CIE-LCHlch(21.41, 36.88, 297.77°)
OKLaboklab(32.93% 0.0162 -0.0931)
OKLCHoklch(32.93% 0.095 279.9)
XYZxyz(4.3201, 3.3545, 12.4740)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2D64 #64642D
analogous
#2D4864 #2D2D64 #482D64
triadic
#2D2D64 #642D2D #2D642D
tetradic
#2D2D64 #642D48 #64642D #2D6448
square
#2D2D64 #642D48 #64642D #2D6448
split-complementary
#2D2D64 #64482D #48642D
monochromatic
#090915 #1A1A3A #2D2D64 #40408E #5858B4

Accessibility & contrast

On white

12.57
#2D2D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2D2D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2D64
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2D64#FFFFFF#000000##FFFFFF
##2D2D641.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113666
Deuteranopia (green-blind)
#0A3163
Tritanopia (blue-blind)
#163944
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2d2d64;
/* rgb */ color: rgb(45, 45, 100);
/* oklch */ color: oklch(32.9% 0.095 279.9);
Tailwind
colors: {
  custom: {
    50: '#6b6590',
    500: '#2d2d64',
    950: '#000000',
  },
}
SCSS
$custom: #2d2d64;
$custom-light: #6b6590;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2d64",
  "rgb": {
    "r": 45,
    "g": 45,
    "b": 100
  },
  "hsl": {
    "h": 240,
    "s": 37.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32931,
    "c": 0.09452,
    "h": 279.9
  },
  "luminance": 0.03355
}

Semantic roles & 50–950 ramp

primary
#2D2D64
secondary
#969657
accent
#CE5ACE
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07050C
muted
#7A7A7D

Preview Lab

Preview with #2D2D64

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

Preview Lab → · Contrast checker → · Palette generator →

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