#2D2492#2D2492

#2D2492 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.171 H 276.9°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#2D2492
RGBrgb(45, 36, 146)
HSLhsl(245, 60%, 36%)
HSVhsv(245, 75%, 57%)
CMYKcmyk(69.2%, 75.3%, 0%, 42.7%)
CIE-LABlab(23.32, 39.10, -58.75)
CIE-LCHlch(23.32, 70.57, 303.64°)
OKLaboklab(35.59% 0.0204 -0.1697)
OKLCHoklch(35.59% 0.171 276.9)
XYZxyz(6.8997, 3.8944, 27.5766)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2492 #899224
analogous
#245292 #2D2492 #642492
triadic
#2D2492 #922D24 #24922D
tetradic
#2D2492 #922452 #899224 #249264
square
#2D2492 #922452 #899224 #249264
split-complementary
#2D2492 #926424 #529224
monochromatic
#0F0C30 #1E1861 #2D2492 #3C30C3 #645AD6

Accessibility & contrast

On white

11.80
#2D2492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2D2492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2492
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2492#FFFFFF#000000##FFFFFF
##2D24921.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C95
Deuteranopia (green-blind)
#003390
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d2492;
/* rgb */ color: rgb(45, 36, 146);
/* oklch */ color: oklch(35.6% 0.171 276.9);
Tailwind
colors: {
  custom: {
    50: '#7561b3',
    500: '#2d2492',
    950: '#000000',
  },
}
SCSS
$custom: #2d2492;
$custom-light: #7561b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2492",
  "rgb": {
    "r": 45,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 244.909,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35585,
    "c": 0.17097,
    "h": 276.9
  },
  "luminance": 0.03895
}

Semantic roles & 50–950 ramp

primary
#2D2492
secondary
#B3BB57
accent
#E444D7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2D2492

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

Preview Lab → · Contrast checker → · Palette generator →

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