#2D2C77#2D2C77

#2D2C77 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.125 H 278.1°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#2D2C77
RGBrgb(45, 44, 119)
HSLhsl(241, 46%, 32%)
HSVhsv(241, 63%, 47%)
CMYKcmyk(62.2%, 63%, 0%, 53.3%)
CIE-LABlab(22.62, 24.69, -42.94)
CIE-LCHlch(22.62, 49.53, 299.90°)
OKLaboklab(34.3% 0.0177 -0.1234)
OKLCHoklch(34.3% 0.125 278.1)
XYZxyz(5.3116, 3.6908, 17.8817)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2C77 #76772C
analogous
#2C5177 #2D2C77 #532C77
triadic
#2D2C77 #772D2C #2C772D
tetradic
#2D2C77 #772C51 #76772C #2C7753
square
#2D2C77 #772C51 #76772C #2C7753
split-complementary
#2D2C77 #77532C #51772C
monochromatic
#0B0B1E #1C1B4A #2D2C77 #3E3DA4 #5C5BC2

Accessibility & contrast

On white

12.08
#2D2C77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2D2C77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2C77
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2C77#FFFFFF#000000##FFFFFF
##2D2C771.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003979
Deuteranopia (green-blind)
#003375
Tritanopia (blue-blind)
#003E4D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2d2c77;
/* rgb */ color: rgb(45, 44, 119);
/* oklch */ color: oklch(34.3% 0.125 278.1);
Tailwind
colors: {
  custom: {
    50: '#6e659f',
    500: '#2d2c77',
    950: '#000000',
  },
}
SCSS
$custom: #2d2c77;
$custom-light: #6e659f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2c77",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 119
  },
  "hsl": {
    "h": 240.8,
    "s": 46.012,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34301,
    "c": 0.12469,
    "h": 278.1
  },
  "luminance": 0.03691
}

Semantic roles & 50–950 ramp

primary
#2D2C77
secondary
#A7A856
accent
#D652D4
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #2D2C77

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

Preview Lab → · Contrast checker → · Palette generator →

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