#2D2494#2D2494

#2D2494 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.8% C 0.173 H 276.6°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#2D2494
RGBrgb(45, 36, 148)
HSLhsl(245, 61%, 36%)
HSVhsv(245, 76%, 58%)
CMYKcmyk(69.6%, 75.7%, 0%, 42%)
CIE-LABlab(23.53, 39.76, -59.64)
CIE-LCHlch(23.53, 71.68, 303.69°)
OKLaboklab(35.8% 0.02 -0.1723)
OKLCHoklch(35.8% 0.174 276.6)
XYZxyz(7.0566, 3.9571, 28.4032)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2494 #8B9424
analogous
#245394 #2D2494 #652494
triadic
#2D2494 #942D24 #24942D
tetradic
#2D2494 #942453 #8B9424 #249465
square
#2D2494 #942453 #8B9424 #249465
split-complementary
#2D2494 #946524 #539424
monochromatic
#0F0C32 #1E1863 #2D2494 #3C30C5 #655BD7

Accessibility & contrast

On white

11.72
#2D2494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2D2494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2494
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2494#FFFFFF#000000##FFFFFF
##2D24941.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003392
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d2494;
/* rgb */ color: rgb(45, 36, 148);
/* oklch */ color: oklch(35.8% 0.173 276.6);
Tailwind
colors: {
  custom: {
    50: '#7661b5',
    500: '#2d2494',
    950: '#000000',
  },
}
SCSS
$custom: #2d2494;
$custom-light: #7661b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2494",
  "rgb": {
    "r": 45,
    "g": 36,
    "b": 148
  },
  "hsl": {
    "h": 244.821,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35797,
    "c": 0.1735,
    "h": 276.6
  },
  "luminance": 0.03958
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D2494

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

Preview Lab → · Contrast checker → · Palette generator →

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