#2D2C7D#2D2C7D

#2D2C7D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.133 H 277.5°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#2D2C7D
RGBrgb(45, 44, 125)
HSLhsl(241, 48%, 33%)
HSVhsv(241, 65%, 49%)
CMYKcmyk(64%, 64.8%, 0%, 51%)
CIE-LABlab(23.13, 26.84, -45.91)
CIE-LCHlch(23.13, 53.18, 300.31°)
OKLaboklab(34.84% 0.0174 -0.1322)
OKLCHoklch(34.84% 0.133 277.5)
XYZxyz(5.6833, 3.8395, 19.8397)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2C7D #7C7D2C
analogous
#2C537D #2D2C7D #552C7D
triadic
#2D2C7D #7D2D2C #2C7D2D
tetradic
#2D2C7D #7D2C53 #7C7D2C #2C7D55
square
#2D2C7D #7D2C53 #7C7D2C #2C7D55
split-complementary
#2D2C7D #7D552C #537D2C
monochromatic
#0C0C22 #1D1C50 #2D2C7D #3D3CAA #5F5DC6

Accessibility & contrast

On white

11.88
#2D2C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2D2C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2C7D
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2C7D#FFFFFF#000000##FFFFFF
##2D2C7D1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#00347B
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2d2c7d;
/* rgb */ color: rgb(45, 44, 125);
/* oklch */ color: oklch(34.8% 0.133 277.5);
Tailwind
colors: {
  custom: {
    50: '#7065a3',
    500: '#2d2c7d',
    950: '#000000',
  },
}
SCSS
$custom: #2d2c7d;
$custom-light: #7065a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2c7d",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 125
  },
  "hsl": {
    "h": 240.741,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34837,
    "c": 0.13331,
    "h": 277.5
  },
  "luminance": 0.0384
}

Semantic roles & 50–950 ramp

primary
#2D2C7D
secondary
#ABAC59
accent
#D850D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F

Preview Lab

Preview with #2D2C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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