#2D2686#2D2686

#2D2686 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.7% C 0.153 H 278.0°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#2D2686
RGBrgb(45, 38, 134)
HSLhsl(244, 56%, 34%)
HSVhsv(244, 72%, 53%)
CMYKcmyk(66.4%, 71.6%, 0%, 47.5%)
CIE-LABlab(22.53, 33.85, -52.57)
CIE-LCHlch(22.53, 62.53, 302.78°)
OKLaboklab(34.66% 0.0214 -0.1517)
OKLCHoklch(34.66% 0.153 278)
XYZxyz(6.0770, 3.6648, 22.9368)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2686 #7F8626
analogous
#264F86 #2D2686 #5D2686
triadic
#2D2686 #862D26 #26862D
tetradic
#2D2686 #86264F #7F8626 #26865D
square
#2D2686 #86264F #7F8626 #26865D
split-complementary
#2D2686 #865D26 #4F8626
monochromatic
#0D0B27 #1D1856 #2D2686 #3D34B6 #6057CF

Accessibility & contrast

On white

12.12
#2D2686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2686
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2686#FFFFFF#000000##FFFFFF
##2D26861.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003284
Tritanopia (blue-blind)
#004053
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2d2686;
/* rgb */ color: rgb(45, 38, 134);
/* oklch */ color: oklch(34.7% 0.153 278.0);
Tailwind
colors: {
  custom: {
    50: '#7261aa',
    500: '#2d2686',
    950: '#000000',
  },
}
SCSS
$custom: #2d2686;
$custom-light: #7261aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2686",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 134
  },
  "hsl": {
    "h": 244.375,
    "s": 55.814,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34656,
    "c": 0.15321,
    "h": 278
  },
  "luminance": 0.03665
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D2686

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

Preview Lab → · Contrast checker → · Palette generator →

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