#2D2690#2D2690

#2D2690 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.7% C 0.166 H 276.8°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#2D2690
RGBrgb(45, 38, 144)
HSLhsl(244, 58%, 36%)
HSVhsv(244, 74%, 56%)
CMYKcmyk(68.7%, 73.6%, 0%, 43.5%)
CIE-LABlab(23.53, 37.26, -57.16)
CIE-LCHlch(23.53, 68.24, 303.10°)
OKLaboklab(35.67% 0.0196 -0.1651)
OKLCHoklch(35.67% 0.166 276.8)
XYZxyz(6.8077, 3.9571, 26.7852)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2690 #899026
analogous
#265490 #2D2690 #622690
triadic
#2D2690 #902D26 #26902D
tetradic
#2D2690 #902654 #899026 #269062
square
#2D2690 #902654 #899026 #269062
split-complementary
#2D2690 #906226 #549026
monochromatic
#0F0C2F #1E1960 #2D2690 #3C33C0 #645CD4

Accessibility & contrast

On white

11.72
#2D2690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2D2690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2690
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2690#FFFFFF#000000##FFFFFF
##2D26901.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00338E
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d2690;
/* rgb */ color: rgb(45, 38, 144);
/* oklch */ color: oklch(35.7% 0.166 276.8);
Tailwind
colors: {
  custom: {
    50: '#7462b2',
    500: '#2d2690',
    950: '#000000',
  },
}
SCSS
$custom: #2d2690;
$custom-light: #7462b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2690",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 144
  },
  "hsl": {
    "h": 243.962,
    "s": 58.242,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35672,
    "c": 0.16629,
    "h": 276.8
  },
  "luminance": 0.03958
}

Semantic roles & 50–950 ramp

primary
#2D2690
secondary
#B3B959
accent
#E146D7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2D2690

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

Preview Lab → · Contrast checker → · Palette generator →

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