#2D1C90#2D1C90

#2D1C90 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.3% C 0.176 H 278.3°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#2D1C90
RGBrgb(45, 28, 144)
HSLhsl(249, 67%, 34%)
HSVhsv(249, 81%, 56%)
CMYKcmyk(68.7%, 80.6%, 0%, 43.5%)
CIE-LABlab(21.59, 42.78, -60.37)
CIE-LCHlch(21.59, 73.99, 305.32°)
OKLaboklab(34.3% 0.0254 -0.1744)
OKLCHoklch(34.3% 0.176 278.3)
XYZxyz(6.5299, 3.4015, 26.6926)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1C90 #7F901C
analogous
#1C4590 #2D1C90 #671C90
triadic
#2D1C90 #902D1C #1C902D
tetradic
#2D1C90 #901C45 #7F901C #1C9067
square
#2D1C90 #901C45 #7F901C #1C9067
split-complementary
#2D1C90 #90671C #45901C
monochromatic
#0D082A #1D125D #2D1C90 #3D26C3 #604ADC

Accessibility & contrast

On white

12.50
#2D1C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2D1C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1C90
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1C90#FFFFFF#000000##FFFFFF
##2D1C901.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#002F8E
Tritanopia (blue-blind)
#003F56
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2d1c90;
/* rgb */ color: rgb(45, 28, 144);
/* oklch */ color: oklch(34.3% 0.176 278.3);
Tailwind
colors: {
  custom: {
    50: '#755cb2',
    500: '#2d1c90',
    950: '#000000',
  },
}
SCSS
$custom: #2d1c90;
$custom-light: #755cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1c90",
  "rgb": {
    "r": 45,
    "g": 28,
    "b": 144
  },
  "hsl": {
    "h": 248.793,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34302,
    "c": 0.17623,
    "h": 278.3
  },
  "luminance": 0.03402
}

Semantic roles & 50–950 ramp

primary
#2D1C90
secondary
#ADBE4A
accent
#EA3DD1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2D1C90

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

Preview Lab → · Contrast checker → · Palette generator →

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