#2D1CA4#2D1CA4

#2D1CA4 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.6% C 0.200 H 275.6°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#2D1CA4
RGBrgb(45, 28, 164)
HSLhsl(248, 71%, 38%)
HSVhsv(248, 83%, 64%)
CMYKcmyk(72.6%, 82.9%, 0%, 35.7%)
CIE-LABlab(23.89, 48.94, -68.83)
CIE-LCHlch(23.89, 84.45, 305.41°)
OKLaboklab(36.58% 0.0196 -0.199)
OKLCHoklch(36.58% 0.2 275.6)
XYZxyz(8.1961, 4.0679, 35.4680)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1CA4 #93A41C
analogous
#1C4FA4 #2D1CA4 #711CA4
triadic
#2D1CA4 #A42D1C #1CA42D
tetradic
#2D1CA4 #A41C4F #93A41C #1CA471
square
#2D1CA4 #A41C4F #93A41C #1CA471
split-complementary
#2D1CA4 #A4711C #4FA41C
monochromatic
#100A3B #1F1370 #2D1CA4 #3B25D8 #6958E2

Accessibility & contrast

On white

11.58
#2D1CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D1CA4
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1CA4#FFFFFF#000000##FFFFFF
##2D1CA41.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA8
Deuteranopia (green-blind)
#0033A2
Tritanopia (blue-blind)
#004762
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d1ca4;
/* rgb */ color: rgb(45, 28, 164);
/* oklch */ color: oklch(36.6% 0.200 275.6);
Tailwind
colors: {
  custom: {
    50: '#7a5dc0',
    500: '#2d1ca4',
    950: '#000000',
  },
}
SCSS
$custom: #2d1ca4;
$custom-light: #7a5dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1ca4",
  "rgb": {
    "r": 45,
    "g": 28,
    "b": 164
  },
  "hsl": {
    "h": 247.5,
    "s": 70.833,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36579,
    "c": 0.19993,
    "h": 275.6
  },
  "luminance": 0.04069
}

Semantic roles & 50–950 ramp

primary
#2D1CA4
secondary
#B8C656
accent
#EE3AD7
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2D1CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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