#2D2986#2D2986

#2D2986 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.150 H 277.3°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#2D2986
RGBrgb(45, 41, 134)
HSLhsl(243, 53%, 34%)
HSVhsv(243, 69%, 53%)
CMYKcmyk(66.4%, 69.4%, 0%, 47.5%)
CIE-LABlab(23.22, 31.98, -51.44)
CIE-LCHlch(23.22, 60.57, 301.87°)
OKLaboklab(35.15% 0.019 -0.1484)
OKLCHoklch(35.15% 0.15 277.3)
XYZxyz(6.1768, 3.8645, 22.9700)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2986 #828629
analogous
#295486 #2D2986 #5C2986
triadic
#2D2986 #862D29 #29862D
tetradic
#2D2986 #862954 #828629 #29865C
square
#2D2986 #862954 #828629 #29865C
split-complementary
#2D2986 #865C29 #548629
monochromatic
#0E0C28 #1D1B57 #2D2986 #3D37B5 #615CCD

Accessibility & contrast

On white

11.84
#2D2986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2D2986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2986
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2986#FFFFFF#000000##FFFFFF
##2D29861.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003384
Tritanopia (blue-blind)
#004254
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2d2986;
/* rgb */ color: rgb(45, 41, 134);
/* oklch */ color: oklch(35.2% 0.150 277.3);
Tailwind
colors: {
  custom: {
    50: '#7263aa',
    500: '#2d2986',
    950: '#000000',
  },
}
SCSS
$custom: #2d2986;
$custom-light: #7263aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2986",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 242.581,
    "s": 53.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35151,
    "c": 0.14963,
    "h": 277.3
  },
  "luminance": 0.03865
}

Semantic roles & 50–950 ramp

primary
#2D2986
secondary
#AFB358
accent
#DD4BD6
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2D2986

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

Preview Lab → · Contrast checker → · Palette generator →

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