#2D1C94#2D1C94

#2D1C94 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.8% C 0.181 H 277.7°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#2D1C94
RGBrgb(45, 28, 148)
HSLhsl(249, 68%, 35%)
HSVhsv(249, 81%, 58%)
CMYKcmyk(69.6%, 81.1%, 0%, 42%)
CIE-LABlab(22.04, 44.03, -62.10)
CIE-LCHlch(22.04, 76.12, 305.34°)
OKLaboklab(34.75% 0.0243 -0.1794)
OKLCHoklch(34.75% 0.181 277.7)
XYZxyz(6.8410, 3.5259, 28.3313)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1C94 #83941C
analogous
#1C4794 #2D1C94 #691C94
triadic
#2D1C94 #942D1C #1C942D
tetradic
#2D1C94 #941C47 #83941C #1C9469
square
#2D1C94 #941C47 #83941C #1C9469
split-complementary
#2D1C94 #94691C #47941C
monochromatic
#0E092D #1D1261 #2D1C94 #3D26C7 #624DDD

Accessibility & contrast

On white

12.31
#2D1C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D1C94
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1C94#FFFFFF#000000##FFFFFF
##2D1C941.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003997
Deuteranopia (green-blind)
#003092
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2d1c94;
/* rgb */ color: rgb(45, 28, 148);
/* oklch */ color: oklch(34.8% 0.181 277.7);
Tailwind
colors: {
  custom: {
    50: '#765cb5',
    500: '#2d1c94',
    950: '#000000',
  },
}
SCSS
$custom: #2d1c94;
$custom-light: #765cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1c94",
  "rgb": {
    "r": 45,
    "g": 28,
    "b": 148
  },
  "hsl": {
    "h": 248.5,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3475,
    "c": 0.18105,
    "h": 277.7
  },
  "luminance": 0.03527
}

Semantic roles & 50–950 ramp

primary
#2D1C94
secondary
#AFC04C
accent
#EB3DD2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2D1C94

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

Preview Lab → · Contrast checker → · Palette generator →

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