#2D2595#2D2595

#2D2595 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.174 H 276.3°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#2D2595
RGBrgb(45, 37, 149)
HSLhsl(244, 60%, 36%)
HSVhsv(244, 75%, 58%)
CMYKcmyk(69.8%, 75.2%, 0%, 41.6%)
CIE-LABlab(23.84, 39.52, -59.75)
CIE-LCHlch(23.84, 71.64, 303.49°)
OKLaboklab(36.05% 0.0192 -0.1727)
OKLCHoklch(36.05% 0.174 276.3)
XYZxyz(7.1668, 4.0503, 28.8320)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2595 #8D9525
analogous
#255595 #2D2595 #652595
triadic
#2D2595 #952D25 #25952D
tetradic
#2D2595 #952555 #8D9525 #259565
square
#2D2595 #952555 #8D9525 #259565
split-complementary
#2D2595 #956525 #559525
monochromatic
#0F0D33 #1E1964 #2D2595 #3C31C6 #665ED7

Accessibility & contrast

On white

11.60
#2D2595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2595
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2595#FFFFFF#000000##FFFFFF
##2D25951.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003493
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d2595;
/* rgb */ color: rgb(45, 37, 149);
/* oklch */ color: oklch(36.0% 0.174 276.3);
Tailwind
colors: {
  custom: {
    50: '#7661b5',
    500: '#2d2595',
    950: '#000000',
  },
}
SCSS
$custom: #2d2595;
$custom-light: #7661b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2595",
  "rgb": {
    "r": 45,
    "g": 37,
    "b": 149
  },
  "hsl": {
    "h": 244.286,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36046,
    "c": 0.17372,
    "h": 276.3
  },
  "luminance": 0.04051
}

Semantic roles & 50–950 ramp

primary
#2D2595
secondary
#B5BC5A
accent
#E344D8
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2D2595

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

Preview Lab → · Contrast checker → · Palette generator →

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