#2D2989#2D2989

#2D2989 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.154 H 277.0°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#2D2989
RGBrgb(45, 41, 137)
HSLhsl(243, 54%, 35%)
HSVhsv(243, 70%, 54%)
CMYKcmyk(67.2%, 70.1%, 0%, 46.3%)
CIE-LABlab(23.50, 33.03, -52.85)
CIE-LCHlch(23.50, 62.32, 302.00°)
OKLaboklab(35.44% 0.0186 -0.1525)
OKLCHoklch(35.44% 0.154 277)
XYZxyz(6.3890, 3.9494, 24.0877)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2989 #858929
analogous
#295589 #2D2989 #5D2989
triadic
#2D2989 #892D29 #29892D
tetradic
#2D2989 #892955 #858929 #29895D
square
#2D2989 #892955 #858929 #29895D
split-complementary
#2D2989 #895D29 #558929
monochromatic
#0E0D2B #1E1B5A #2D2989 #3C37B8 #625ECF

Accessibility & contrast

On white

11.73
#2D2989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2989
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2989#FFFFFF#000000##FFFFFF
##2D29891.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8C
Deuteranopia (green-blind)
#003487
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d2989;
/* rgb */ color: rgb(45, 41, 137);
/* oklch */ color: oklch(35.4% 0.154 277.0);
Tailwind
colors: {
  custom: {
    50: '#7363ac',
    500: '#2d2989',
    950: '#000000',
  },
}
SCSS
$custom: #2d2989;
$custom-light: #7363ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2989",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 137
  },
  "hsl": {
    "h": 242.5,
    "s": 53.933,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35444,
    "c": 0.15366,
    "h": 277
  },
  "luminance": 0.0395
}

Semantic roles & 50–950 ramp

primary
#2D2989
secondary
#B0B45A
accent
#DD4AD7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2D2989

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

Preview Lab → · Contrast checker → · Palette generator →

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