#2D2C94#2D2C94

#2D2C94 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.165 H 275.2°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#2D2C94
RGBrgb(45, 44, 148)
HSLhsl(241, 54%, 38%)
HSVhsv(241, 70%, 58%)
CMYKcmyk(69.6%, 70.3%, 0%, 42%)
CIE-LABlab(25.25, 34.99, -56.80)
CIE-LCHlch(25.25, 66.72, 301.63°)
OKLaboklab(37.03% 0.0149 -0.1641)
OKLCHoklch(37.03% 0.165 275.2)
XYZxyz(7.3264, 4.4967, 28.4931)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2C94 #93942C
analogous
#2C5F94 #2D2C94 #612C94
triadic
#2D2C94 #942D2C #2C942D
tetradic
#2D2C94 #942C5F #93942C #2C9461
square
#2D2C94 #942C5F #93942C #2C9461
split-complementary
#2D2C94 #94612C #5F942C
monochromatic
#101036 #1F1E65 #2D2C94 #3B3AC3 #6968D2

Accessibility & contrast

On white

11.06
#2D2C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2D2C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2C94
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2C94#FFFFFF#000000##FFFFFF
##2D2C941.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#003792
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d2c94;
/* rgb */ color: rgb(45, 44, 148);
/* oklch */ color: oklch(37.0% 0.165 275.2);
Tailwind
colors: {
  custom: {
    50: '#7566b4',
    500: '#2d2c94',
    950: '#000000',
  },
}
SCSS
$custom: #2d2c94;
$custom-light: #7566b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2c94",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 148
  },
  "hsl": {
    "h": 240.577,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37025,
    "c": 0.16477,
    "h": 275.2
  },
  "luminance": 0.04497
}

Semantic roles & 50–950 ramp

primary
#2D2C94
secondary
#B8B963
accent
#DE4ADC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2D2C94

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

Preview Lab → · Contrast checker → · Palette generator →

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