#2D2C85#2D2C85

#2D2C85 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.145 H 276.6°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#2D2C85
RGBrgb(45, 44, 133)
HSLhsl(241, 50%, 35%)
HSVhsv(241, 67%, 52%)
CMYKcmyk(66.2%, 66.9%, 0%, 47.8%)
CIE-LABlab(23.84, 29.70, -49.79)
CIE-LCHlch(23.84, 57.98, 300.81°)
OKLaboklab(35.58% 0.0167 -0.1436)
OKLCHoklch(35.58% 0.145 276.6)
XYZxyz(6.2151, 4.0522, 22.6404)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2C85 #84852C
analogous
#2C5885 #2D2C85 #5A2C85
triadic
#2D2C85 #852D2C #2C852D
tetradic
#2D2C85 #852C58 #84852C #2C855A
square
#2D2C85 #852C58 #84852C #2C855A
split-complementary
#2D2C85 #855A2C #58852C
monochromatic
#0E0E29 #1D1D57 #2D2C85 #3D3BB3 #6261CB

Accessibility & contrast

On white

11.60
#2D2C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2D2C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2C85
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2C85#FFFFFF#000000##FFFFFF
##2D2C851.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003583
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d2c85;
/* rgb */ color: rgb(45, 44, 133);
/* oklch */ color: oklch(35.6% 0.145 276.6);
Tailwind
colors: {
  custom: {
    50: '#7165a9',
    500: '#2d2c85',
    950: '#000000',
  },
}
SCSS
$custom: #2d2c85;
$custom-light: #7165a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2c85",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 133
  },
  "hsl": {
    "h": 240.674,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35575,
    "c": 0.14453,
    "h": 276.6
  },
  "luminance": 0.04053
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D2C85

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

Preview Lab → · Contrast checker → · Palette generator →

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