#2D1EA9#2D1EA9

#2D1EA9 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.4% C 0.204 H 274.9°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#2D1EA9
RGBrgb(45, 30, 169)
HSLhsl(246, 70%, 39%)
HSVhsv(246, 82%, 66%)
CMYKcmyk(73.4%, 82.2%, 0%, 33.7%)
CIE-LABlab(24.80, 49.54, -70.36)
CIE-LCHlch(24.80, 86.05, 305.15°)
OKLaboklab(37.37% 0.0175 -0.2034)
OKLCHoklch(37.37% 0.204 274.9)
XYZxyz(8.7055, 4.3501, 37.9093)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1EA9 #9AA91E
analogous
#1E55A9 #2D1EA9 #731EA9
triadic
#2D1EA9 #A92D1E #1EA92D
tetradic
#2D1EA9 #A91E55 #9AA91E #1EA973
square
#2D1EA9 #A91E55 #9AA91E #1EA973
split-complementary
#2D1EA9 #A9731E #55A91E
monochromatic
#110C41 #1F1575 #2D1EA9 #3E2BD9 #6D5FE3

Accessibility & contrast

On white

11.23
#2D1EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2D1EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1EA9
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1EA9#FFFFFF#000000##FFFFFF
##2D1EA91.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AD
Deuteranopia (green-blind)
#0034A7
Tritanopia (blue-blind)
#004A65
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d1ea9;
/* rgb */ color: rgb(45, 30, 169);
/* oklch */ color: oklch(37.4% 0.204 274.9);
Tailwind
colors: {
  custom: {
    50: '#7b5fc4',
    500: '#2d1ea9',
    950: '#000000',
  },
}
SCSS
$custom: #2d1ea9;
$custom-light: #7b5fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1ea9",
  "rgb": {
    "r": 45,
    "g": 30,
    "b": 169
  },
  "hsl": {
    "h": 246.475,
    "s": 69.849,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37373,
    "c": 0.20419,
    "h": 274.9
  },
  "luminance": 0.04351
}

Semantic roles & 50–950 ramp

primary
#2D1EA9
secondary
#BBC75C
accent
#ED3BD9
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2D1EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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