#2D1EA0#2D1EA0

#2D1EA0 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.3% C 0.194 H 275.9°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#2D1EA0
RGBrgb(45, 30, 160)
HSLhsl(247, 68%, 37%)
HSVhsv(247, 81%, 63%)
CMYKcmyk(71.9%, 81.3%, 0%, 37.3%)
CIE-LABlab(23.75, 46.77, -66.63)
CIE-LCHlch(23.75, 81.41, 305.07°)
OKLaboklab(36.34% 0.02 -0.1926)
OKLCHoklch(36.34% 0.194 275.9)
XYZxyz(7.8895, 4.0238, 33.6118)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1EA0 #91A01E
analogous
#1E50A0 #2D1EA0 #6E1EA0
triadic
#2D1EA0 #A02D1E #1EA02D
tetradic
#2D1EA0 #A01E50 #91A01E #1EA06E
square
#2D1EA0 #A01E50 #91A01E #1EA06E
split-complementary
#2D1EA0 #A06E1E #50A01E
monochromatic
#100B39 #1F146C #2D1EA0 #3B28D4 #6859E0

Accessibility & contrast

On white

11.63
#2D1EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D1EA0
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1EA0#FFFFFF#000000##FFFFFF
##2D1EA01.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA4
Deuteranopia (green-blind)
#00339E
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d1ea0;
/* rgb */ color: rgb(45, 30, 160);
/* oklch */ color: oklch(36.3% 0.194 275.9);
Tailwind
colors: {
  custom: {
    50: '#795ebd',
    500: '#2d1ea0',
    950: '#000000',
  },
}
SCSS
$custom: #2d1ea0;
$custom-light: #795ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1ea0",
  "rgb": {
    "r": 45,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 246.923,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36342,
    "c": 0.19365,
    "h": 275.9
  },
  "luminance": 0.04025
}

Semantic roles & 50–950 ramp

primary
#2D1EA0
secondary
#B7C456
accent
#EB3DD7
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #2D1EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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