#2D2C86#2D2C86

#2D2C86 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.146 H 276.5°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#2D2C86
RGBrgb(45, 44, 134)
HSLhsl(241, 51%, 35%)
HSVhsv(241, 67%, 53%)
CMYKcmyk(66.4%, 67.2%, 0%, 47.5%)
CIE-LABlab(23.93, 30.05, -50.27)
CIE-LCHlch(23.93, 58.57, 300.87°)
OKLaboklab(35.67% 0.0166 -0.145)
OKLCHoklch(35.67% 0.146 276.5)
XYZxyz(6.2845, 4.0800, 23.0060)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2C86 #85862C
analogous
#2C5886 #2D2C86 #5A2C86
triadic
#2D2C86 #862D2C #2C862D
tetradic
#2D2C86 #862C58 #85862C #2C865A
square
#2D2C86 #862C58 #85862C #2C865A
split-complementary
#2D2C86 #865A2C #58862C
monochromatic
#0E0E2A #1E1D58 #2D2C86 #3C3BB4 #6261CB

Accessibility & contrast

On white

11.56
#2D2C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2D2C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2C86
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2C86#FFFFFF#000000##FFFFFF
##2D2C861.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003584
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d2c86;
/* rgb */ color: rgb(45, 44, 134);
/* oklch */ color: oklch(35.7% 0.146 276.5);
Tailwind
colors: {
  custom: {
    50: '#7265aa',
    500: '#2d2c86',
    950: '#000000',
  },
}
SCSS
$custom: #2d2c86;
$custom-light: #7265aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2c86",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 134
  },
  "hsl": {
    "h": 240.667,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3567,
    "c": 0.14591,
    "h": 276.5
  },
  "luminance": 0.0408
}

Semantic roles & 50–950 ramp

primary
#2D2C86
secondary
#B0B15C
accent
#DA4ED8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2D2C86

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

Preview Lab → · Contrast checker → · Palette generator →

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