#2D2C74#2D2C74

#2D2C74 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.0% C 0.120 H 278.5°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#2D2C74
RGBrgb(45, 44, 116)
HSLhsl(241, 45%, 31%)
HSVhsv(241, 62%, 45%)
CMYKcmyk(61.2%, 62.1%, 0%, 54.5%)
CIE-LABlab(22.37, 23.61, -41.42)
CIE-LCHlch(22.37, 47.68, 299.68°)
OKLaboklab(34.04% 0.0178 -0.119)
OKLCHoklch(34.04% 0.12 278.5)
XYZxyz(5.1343, 3.6198, 16.9478)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2C74 #73742C
analogous
#2C4F74 #2D2C74 #512C74
triadic
#2D2C74 #742D2C #2C742D
tetradic
#2D2C74 #742C4F #73742C #2C7451
square
#2D2C74 #742C4F #73742C #2C7451
split-complementary
#2D2C74 #74512C #4F742C
monochromatic
#0B0A1B #1C1B48 #2D2C74 #3E3DA0 #5B5AC0

Accessibility & contrast

On white

12.18
#2D2C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2D2C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2C74
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2C74#FFFFFF#000000##FFFFFF
##2D2C741.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003876
Deuteranopia (green-blind)
#003373
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2d2c74;
/* rgb */ color: rgb(45, 44, 116);
/* oklch */ color: oklch(34.0% 0.120 278.5);
Tailwind
colors: {
  custom: {
    50: '#6e659d',
    500: '#2d2c74',
    950: '#000000',
  },
}
SCSS
$custom: #2d2c74;
$custom-light: #6e659d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2c74",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 116
  },
  "hsl": {
    "h": 240.833,
    "s": 45,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34039,
    "c": 0.12031,
    "h": 278.5
  },
  "luminance": 0.0362
}

Semantic roles & 50–950 ramp

primary
#2D2C74
secondary
#A4A656
accent
#D553D3
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #2D2C74

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

Preview Lab → · Contrast checker → · Palette generator →

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