#2C2599#2C2599

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

Color values

HEX#2C2599
RGBrgb(44, 37, 153)
HSLhsl(244, 61%, 37%)
HSVhsv(244, 76%, 60%)
CMYKcmyk(71.2%, 75.8%, 0%, 40%)
CIE-LABlab(24.19, 40.75, -61.63)
CIE-LCHlch(24.19, 73.88, 303.47°)
OKLaboklab(36.4% 0.017 -0.1782)
OKLCHoklch(36.4% 0.179 275.5)
XYZxyz(7.4482, 4.1578, 30.5408)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2599 #929925
analogous
#255899 #2C2599 #662599
triadic
#2C2599 #992C25 #25992C
tetradic
#2C2599 #992558 #929925 #259966
square
#2C2599 #992558 #929925 #259966
split-complementary
#2C2599 #996625 #589925
monochromatic
#100D36 #1E1968 #2C2599 #3A31CA #6760D9

Accessibility & contrast

On white

11.46
#2C2599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2599
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2599#FFFFFF#000000##FFFFFF
##2C25991.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9C
Deuteranopia (green-blind)
#003497
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c2599;
/* rgb */ color: rgb(44, 37, 153);
/* oklch */ color: oklch(36.4% 0.179 275.5);
Tailwind
colors: {
  custom: {
    50: '#7661b8',
    500: '#2c2599',
    950: '#000000',
  },
}
SCSS
$custom: #2c2599;
$custom-light: #7661b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2599",
  "rgb": {
    "r": 44,
    "g": 37,
    "b": 153
  },
  "hsl": {
    "h": 243.621,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36401,
    "c": 0.17899,
    "h": 275.5
  },
  "luminance": 0.04159
}

Semantic roles & 50–950 ramp

primary
#2C2599
secondary
#B8BE5C
accent
#E444DA
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2C2599

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

Preview Lab → · Contrast checker → · Palette generator →

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