#2D2C71#2D2C71

#2D2C71 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.8% C 0.116 H 278.9°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#2D2C71
RGBrgb(45, 44, 113)
HSLhsl(241, 44%, 31%)
HSVhsv(241, 61%, 44%)
CMYKcmyk(60.2%, 61.1%, 0%, 55.7%)
CIE-LABlab(22.13, 22.53, -39.90)
CIE-LCHlch(22.13, 45.82, 299.46°)
OKLaboklab(33.78% 0.0178 -0.1145)
OKLCHoklch(33.78% 0.116 278.9)
XYZxyz(4.9626, 3.5512, 16.0435)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2C71 #70712C
analogous
#2C4D71 #2D2C71 #4F2C71
triadic
#2D2C71 #712D2C #2C712D
tetradic
#2D2C71 #712C4D #70712C #2C714F
square
#2D2C71 #712C4D #70712C #2C714F
split-complementary
#2D2C71 #714F2C #4D712C
monochromatic
#0A0A19 #1B1B45 #2D2C71 #3F3D9D #5A59BE

Accessibility & contrast

On white

12.28
#2D2C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2C71
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2C71#FFFFFF#000000##FFFFFF
##2D2C711.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#003270
Tritanopia (blue-blind)
#053C4A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2d2c71;
/* rgb */ color: rgb(45, 44, 113);
/* oklch */ color: oklch(33.8% 0.116 278.9);
Tailwind
colors: {
  custom: {
    50: '#6d659a',
    500: '#2d2c71',
    950: '#000000',
  },
}
SCSS
$custom: #2d2c71;
$custom-light: #6d659a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2c71",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 240.87,
    "s": 43.949,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33782,
    "c": 0.11588,
    "h": 278.9
  },
  "luminance": 0.03552
}

Semantic roles & 50–950 ramp

primary
#2D2C71
secondary
#A2A356
accent
#D454D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #2D2C71

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

Preview Lab → · Contrast checker → · Palette generator →

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