#2D2694#2D2694

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

Color values

HEX#2D2694
RGBrgb(45, 38, 148)
HSLhsl(244, 59%, 36%)
HSVhsv(244, 74%, 58%)
CMYKcmyk(69.6%, 74.3%, 0%, 42%)
CIE-LABlab(23.94, 38.61, -58.96)
CIE-LCHlch(23.94, 70.48, 303.22°)
OKLaboklab(36.09% 0.0188 -0.1704)
OKLCHoklch(36.09% 0.171 276.3)
XYZxyz(7.1188, 4.0816, 28.4239)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2694 #8D9426
analogous
#265694 #2D2694 #642694
triadic
#2D2694 #942D26 #26942D
tetradic
#2D2694 #942656 #8D9426 #269464
square
#2D2694 #942656 #8D9426 #269464
split-complementary
#2D2694 #946426 #569426
monochromatic
#0F0D33 #1E1963 #2D2694 #3C33C5 #665FD6

Accessibility & contrast

On white

11.56
#2D2694 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2694
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2694#FFFFFF#000000##FFFFFF
##2D26941.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2694;
/* rgb */ color: rgb(45, 38, 148);
/* oklch */ color: oklch(36.1% 0.171 276.3);
Tailwind
colors: {
  custom: {
    50: '#7562b5',
    500: '#2d2694',
    950: '#000000',
  },
}
SCSS
$custom: #2d2694;
$custom-light: #7562b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2694",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 148
  },
  "hsl": {
    "h": 243.818,
    "s": 59.14,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36087,
    "c": 0.17141,
    "h": 276.3
  },
  "luminance": 0.04082
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D2694

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

Preview Lab → · Contrast checker → · Palette generator →

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