#2D1EA6#2D1EA6

#2D1EA6 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 37.0% C 0.201 H 275.2°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#2D1EA6
RGBrgb(45, 30, 166)
HSLhsl(247, 69%, 38%)
HSVhsv(247, 82%, 65%)
CMYKcmyk(72.9%, 81.9%, 0%, 34.9%)
CIE-LABlab(24.45, 48.62, -69.13)
CIE-LCHlch(24.45, 84.51, 305.12°)
OKLaboklab(37.03% 0.0183 -0.1999)
OKLCHoklch(37.03% 0.201 275.2)
XYZxyz(8.4271, 4.2388, 36.4430)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1EA6 #97A61E
analogous
#1E53A6 #2D1EA6 #711EA6
triadic
#2D1EA6 #A62D1E #1EA62D
tetradic
#2D1EA6 #A61E53 #97A61E #1EA671
square
#2D1EA6 #A61E53 #97A61E #1EA671
split-complementary
#2D1EA6 #A6711E #53A61E
monochromatic
#110B3E #1F1572 #2D1EA6 #3C29D8 #6B5DE2

Accessibility & contrast

On white

11.36
#2D1EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2D1EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1EA6
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1EA6#FFFFFF#000000##FFFFFF
##2D1EA61.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AA
Deuteranopia (green-blind)
#0034A4
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d1ea6;
/* rgb */ color: rgb(45, 30, 166);
/* oklch */ color: oklch(37.0% 0.201 275.2);
Tailwind
colors: {
  custom: {
    50: '#7a5ec2',
    500: '#2d1ea6',
    950: '#000000',
  },
}
SCSS
$custom: #2d1ea6;
$custom-light: #7a5ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1ea6",
  "rgb": {
    "r": 45,
    "g": 30,
    "b": 166
  },
  "hsl": {
    "h": 246.618,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37028,
    "c": 0.2007,
    "h": 275.2
  },
  "luminance": 0.0424
}

Semantic roles & 50–950 ramp

primary
#2D1EA6
secondary
#BAC65A
accent
#EC3CD9
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2D1EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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