#2C2899#2C2899

#2C2899 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.176 H 275.0°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#2C2899
RGBrgb(44, 40, 153)
HSLhsl(242, 59%, 38%)
HSVhsv(242, 74%, 60%)
CMYKcmyk(71.2%, 73.9%, 0%, 40%)
CIE-LABlab(24.80, 39.02, -60.62)
CIE-LCHlch(24.80, 72.09, 302.77°)
OKLaboklab(36.84% 0.0153 -0.1752)
OKLCHoklch(36.84% 0.176 275)
XYZxyz(7.5454, 4.3522, 30.5732)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2899 #959928
analogous
#285C99 #2C2899 #642899
triadic
#2C2899 #992C28 #28992C
tetradic
#2C2899 #99285C #959928 #289964
square
#2C2899 #99285C #959928 #289964
split-complementary
#2C2899 #996428 #5C9928
monochromatic
#100F38 #1E1B68 #2C2899 #3A35CA #6965D7

Accessibility & contrast

On white

11.23
#2C2899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2C2899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2899
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2899#FFFFFF#000000##FFFFFF
##2C28991.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409C
Deuteranopia (green-blind)
#003697
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c2899;
/* rgb */ color: rgb(44, 40, 153);
/* oklch */ color: oklch(36.8% 0.176 275.0);
Tailwind
colors: {
  custom: {
    50: '#7663b8',
    500: '#2c2899',
    950: '#000000',
  },
}
SCSS
$custom: #2c2899;
$custom-light: #7663b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2899",
  "rgb": {
    "r": 44,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 242.124,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36839,
    "c": 0.17591,
    "h": 275
  },
  "luminance": 0.04353
}

Semantic roles & 50–950 ramp

primary
#2C2899
secondary
#B9BD60
accent
#E246DC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #2C2899

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

Preview Lab → · Contrast checker → · Palette generator →

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