#2D2C88#2D2C88

#2D2C88 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.149 H 276.3°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#2D2C88
RGBrgb(45, 44, 136)
HSLhsl(241, 51%, 35%)
HSVhsv(241, 68%, 53%)
CMYKcmyk(66.9%, 67.6%, 0%, 46.7%)
CIE-LABlab(24.12, 30.77, -51.22)
CIE-LCHlch(24.12, 59.75, 300.99°)
OKLaboklab(35.86% 0.0164 -0.1477)
OKLCHoklch(35.86% 0.149 276.3)
XYZxyz(6.4254, 4.1363, 23.7476)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2C88 #87882C
analogous
#2C5988 #2D2C88 #5B2C88
triadic
#2D2C88 #882D2C #2C882D
tetradic
#2D2C88 #882C59 #87882C #2C885B
square
#2D2C88 #882C59 #87882C #2C885B
split-complementary
#2D2C88 #885B2C #59882C
monochromatic
#0E0E2C #1E1D5A #2D2C88 #3C3BB6 #6362CC

Accessibility & contrast

On white

11.49
#2D2C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2D2C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2C88
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2C88#FFFFFF#000000##FFFFFF
##2D2C881.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8B
Deuteranopia (green-blind)
#003586
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d2c88;
/* rgb */ color: rgb(45, 44, 136);
/* oklch */ color: oklch(35.9% 0.149 276.3);
Tailwind
colors: {
  custom: {
    50: '#7265ac',
    500: '#2d2c88',
    950: '#000000',
  },
}
SCSS
$custom: #2d2c88;
$custom-light: #7265ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2c88",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 136
  },
  "hsl": {
    "h": 240.652,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35859,
    "c": 0.14866,
    "h": 276.3
  },
  "luminance": 0.04137
}

Semantic roles & 50–950 ramp

primary
#2D2C88
secondary
#B2B35D
accent
#DB4DD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2D2C88

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

Preview Lab → · Contrast checker → · Palette generator →

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