#2D2C99#2D2C99

#2D2C99 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.171 H 274.7°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#2D2C99
RGBrgb(45, 44, 153)
HSLhsl(241, 55%, 39%)
HSVhsv(241, 71%, 60%)
CMYKcmyk(70.6%, 71.2%, 0%, 40%)
CIE-LABlab(25.74, 36.73, -59.07)
CIE-LCHlch(25.74, 69.56, 301.87°)
OKLaboklab(37.53% 0.0142 -0.1707)
OKLCHoklch(37.53% 0.171 274.7)
XYZxyz(7.7307, 4.6584, 30.6226)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2C99 #98992C
analogous
#2C6199 #2D2C99 #632C99
triadic
#2D2C99 #992D2C #2C992D
tetradic
#2D2C99 #992C61 #98992C #2C9963
square
#2D2C99 #992C61 #98992C #2C9963
split-complementary
#2D2C99 #99632C #61992C
monochromatic
#11113A #1F1E69 #2D2C99 #3D3BC7 #6C6BD4

Accessibility & contrast

On white

10.87
#2D2C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2D2C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2C99
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2C99#FFFFFF#000000##FFFFFF
##2D2C991.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003897
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d2c99;
/* rgb */ color: rgb(45, 44, 153);
/* oklch */ color: oklch(37.5% 0.171 274.7);
Tailwind
colors: {
  custom: {
    50: '#7666b8',
    500: '#2d2c99',
    950: '#000000',
  },
}
SCSS
$custom: #2d2c99;
$custom-light: #7666b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2c99",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 153
  },
  "hsl": {
    "h": 240.55,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37525,
    "c": 0.17132,
    "h": 274.7
  },
  "luminance": 0.04659
}

Semantic roles & 50–950 ramp

primary
#2D2C99
secondary
#BABB66
accent
#DF49DD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #2D2C99

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

Preview Lab → · Contrast checker → · Palette generator →

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