#2C2D89#2C2D89

#2C2D89 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.149 H 275.5°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#2C2D89
RGBrgb(44, 45, 137)
HSLhsl(239, 51%, 35%)
HSVhsv(239, 68%, 54%)
CMYKcmyk(67.9%, 67.2%, 0%, 46.3%)
CIE-LABlab(24.38, 30.33, -51.42)
CIE-LCHlch(24.38, 59.70, 300.53°)
OKLaboklab(36.06% 0.0142 -0.1484)
OKLCHoklch(36.06% 0.149 275.5)
XYZxyz(6.4910, 4.2178, 24.1341)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2D89 #89882C
analogous
#2C5B89 #2C2D89 #592C89
triadic
#2C2D89 #892C2D #2D892C
tetradic
#2C2D89 #892C5B #89882C #2C8959
square
#2C2D89 #892C5B #89882C #2C8959
split-complementary
#2C2D89 #89592C #5B892C
monochromatic
#0E0F2C #1D1E5B #2C2D89 #3B3CB7 #6364CD

Accessibility & contrast

On white

11.39
#2C2D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2C2D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2D89
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2D89#FFFFFF#000000##FFFFFF
##2C2D891.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003687
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c2d89;
/* rgb */ color: rgb(44, 45, 137);
/* oklch */ color: oklch(36.1% 0.149 275.5);
Tailwind
colors: {
  custom: {
    50: '#7266ac',
    500: '#2c2d89',
    950: '#000000',
  },
}
SCSS
$custom: #2c2d89;
$custom-light: #7266ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2d89",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 239.355,
    "s": 51.381,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36059,
    "c": 0.14904,
    "h": 275.5
  },
  "luminance": 0.04218
}

Semantic roles & 50–950 ramp

primary
#2C2D89
secondary
#B3B25E
accent
#D94DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2C2D89

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

Preview Lab → · Contrast checker → · Palette generator →

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