#2D2499#2D2499

#2D2499 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.3% C 0.180 H 276.0°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#2D2499
RGBrgb(45, 36, 153)
HSLhsl(245, 62%, 37%)
HSVhsv(245, 76%, 60%)
CMYKcmyk(70.6%, 76.5%, 0%, 40%)
CIE-LABlab(24.06, 41.41, -61.84)
CIE-LCHlch(24.06, 74.42, 303.81°)
OKLaboklab(36.33% 0.0189 -0.1787)
OKLCHoklch(36.33% 0.18 276)
XYZxyz(7.4609, 4.1189, 30.5326)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2499 #909924
analogous
#245699 #2D2499 #672499
triadic
#2D2499 #992D24 #24992D
tetradic
#2D2499 #992456 #909924 #249967
square
#2D2499 #992456 #909924 #249967
split-complementary
#2D2499 #996724 #569924
monochromatic
#100D36 #1E1867 #2D2499 #3C30CB #685ED9

Accessibility & contrast

On white

11.51
#2D2499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2D2499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2499
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2499#FFFFFF#000000##FFFFFF
##2D24991.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9C
Deuteranopia (green-blind)
#003497
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d2499;
/* rgb */ color: rgb(45, 36, 153);
/* oklch */ color: oklch(36.3% 0.180 276.0);
Tailwind
colors: {
  custom: {
    50: '#7761b8',
    500: '#2d2499',
    950: '#000000',
  },
}
SCSS
$custom: #2d2499;
$custom-light: #7761b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2499",
  "rgb": {
    "r": 45,
    "g": 36,
    "b": 153
  },
  "hsl": {
    "h": 244.615,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36331,
    "c": 0.17975,
    "h": 276
  },
  "luminance": 0.0412
}

Semantic roles & 50–950 ramp

primary
#2D2499
secondary
#B6BE5B
accent
#E543D9
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2D2499

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

Preview Lab → · Contrast checker → · Palette generator →

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