#2D2C84#2D2C84

#2D2C84 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.143 H 276.7°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#2D2C84
RGBrgb(45, 44, 132)
HSLhsl(241, 50%, 35%)
HSVhsv(241, 67%, 52%)
CMYKcmyk(65.9%, 66.7%, 0%, 48.2%)
CIE-LABlab(23.75, 29.34, -49.31)
CIE-LCHlch(23.75, 57.38, 300.75°)
OKLaboklab(35.48% 0.0168 -0.1422)
OKLCHoklch(35.48% 0.143 276.7)
XYZxyz(6.1464, 4.0247, 22.2783)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2C84 #83842C
analogous
#2C5784 #2D2C84 #592C84
triadic
#2D2C84 #842D2C #2C842D
tetradic
#2D2C84 #842C57 #83842C #2C8459
square
#2D2C84 #842C57 #83842C #2C8459
split-complementary
#2D2C84 #84592C #57842C
monochromatic
#0E0D28 #1D1D56 #2D2C84 #3D3BB2 #6260CA

Accessibility & contrast

On white

11.63
#2D2C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2D2C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2C84
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2C84#FFFFFF#000000##FFFFFF
##2D2C841.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C87
Deuteranopia (green-blind)
#003582
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d2c84;
/* rgb */ color: rgb(45, 44, 132);
/* oklch */ color: oklch(35.5% 0.143 276.7);
Tailwind
colors: {
  custom: {
    50: '#7165a9',
    500: '#2d2c84',
    950: '#000000',
  },
}
SCSS
$custom: #2d2c84;
$custom-light: #7165a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2c84",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 132
  },
  "hsl": {
    "h": 240.682,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35482,
    "c": 0.14315,
    "h": 276.7
  },
  "luminance": 0.04025
}

Semantic roles & 50–950 ramp

primary
#2D2C84
secondary
#AFB05C
accent
#DA4ED8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2D2C84

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

Preview Lab → · Contrast checker → · Palette generator →

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