#2D2695#2D2695

#2D2695 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.2% C 0.173 H 276.2°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#2D2695
RGBrgb(45, 38, 149)
HSLhsl(244, 59%, 37%)
HSVhsv(244, 74%, 58%)
CMYKcmyk(69.8%, 74.5%, 0%, 41.6%)
CIE-LABlab(24.04, 38.95, -59.41)
CIE-LCHlch(24.04, 71.03, 303.25°)
OKLaboklab(36.19% 0.0186 -0.1717)
OKLCHoklch(36.19% 0.173 276.2)
XYZxyz(7.1983, 4.1134, 28.8426)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2695 #8E9526
analogous
#265795 #2D2695 #652695
triadic
#2D2695 #952D26 #26952D
tetradic
#2D2695 #952657 #8E9526 #269565
square
#2D2695 #952657 #8E9526 #269565
split-complementary
#2D2695 #956526 #579526
monochromatic
#100D33 #1E1A64 #2D2695 #3C32C6 #675FD6

Accessibility & contrast

On white

11.52
#2D2695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2695
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2695#FFFFFF#000000##FFFFFF
##2D26951.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2695;
/* rgb */ color: rgb(45, 38, 149);
/* oklch */ color: oklch(36.2% 0.173 276.2);
Tailwind
colors: {
  custom: {
    50: '#7662b5',
    500: '#2d2695',
    950: '#000000',
  },
}
SCSS
$custom: #2d2695;
$custom-light: #7662b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2695",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 149
  },
  "hsl": {
    "h": 243.784,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36192,
    "c": 0.17268,
    "h": 276.2
  },
  "luminance": 0.04114
}

Semantic roles & 50–950 ramp

primary
#2D2695
secondary
#B5BB5B
accent
#E345D9
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2D2695

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

Preview Lab → · Contrast checker → · Palette generator →

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