#2D2685#2D2685

#2D2685 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.6% C 0.152 H 278.2°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#2D2685
RGBrgb(45, 38, 133)
HSLhsl(244, 56%, 34%)
HSVhsv(244, 71%, 52%)
CMYKcmyk(66.2%, 71.4%, 0%, 47.8%)
CIE-LABlab(22.43, 33.51, -52.10)
CIE-LCHlch(22.43, 61.95, 302.75°)
OKLaboklab(34.56% 0.0215 -0.1503)
OKLCHoklch(34.56% 0.152 278.2)
XYZxyz(6.0076, 3.6371, 22.5712)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2685 #7E8526
analogous
#264E85 #2D2685 #5C2685
triadic
#2D2685 #852D26 #26852D
tetradic
#2D2685 #85264E #7E8526 #26855C
square
#2D2685 #85264E #7E8526 #26855C
split-complementary
#2D2685 #855C26 #4E8526
monochromatic
#0D0B26 #1D1855 #2D2685 #3D34B5 #5F57CF

Accessibility & contrast

On white

12.16
#2D2685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2D2685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2685
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2685#FFFFFF#000000##FFFFFF
##2D26851.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003283
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2d2685;
/* rgb */ color: rgb(45, 38, 133);
/* oklch */ color: oklch(34.6% 0.152 278.2);
Tailwind
colors: {
  custom: {
    50: '#7261a9',
    500: '#2d2685',
    950: '#000000',
  },
}
SCSS
$custom: #2d2685;
$custom-light: #7261a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2685",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 133
  },
  "hsl": {
    "h": 244.421,
    "s": 55.556,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34556,
    "c": 0.15188,
    "h": 278.2
  },
  "luminance": 0.03638
}

Semantic roles & 50–950 ramp

primary
#2D2685
secondary
#ACB353
accent
#DF49D4
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2D2685

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

Preview Lab → · Contrast checker → · Palette generator →

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