#2C2699#2C2699

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

Color values

HEX#2C2699
RGBrgb(44, 38, 153)
HSLhsl(243, 60%, 37%)
HSVhsv(243, 75%, 60%)
CMYKcmyk(71.2%, 75.2%, 0%, 40%)
CIE-LABlab(24.39, 40.18, -61.30)
CIE-LCHlch(24.39, 73.29, 303.24°)
OKLaboklab(36.54% 0.0165 -0.1772)
OKLCHoklch(36.54% 0.178 275.3)
XYZxyz(7.4797, 4.2209, 30.5513)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2699 #939926
analogous
#265A99 #2C2699 #652699
triadic
#2C2699 #992C26 #26992C
tetradic
#2C2699 #99265A #939926 #269965
square
#2C2699 #99265A #939926 #269965
split-complementary
#2C2699 #996526 #5A9926
monochromatic
#100E37 #1E1A68 #2C2699 #3A32CA #6862D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C2699#FFFFFF#000000##FFFFFF
##2C26991.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)
#003F9C
Deuteranopia (green-blind)
#003597
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c2699;
/* rgb */ color: rgb(44, 38, 153);
/* oklch */ color: oklch(36.5% 0.178 275.3);
Tailwind
colors: {
  custom: {
    50: '#7662b8',
    500: '#2c2699',
    950: '#000000',
  },
}
SCSS
$custom: #2c2699;
$custom-light: #7662b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2699",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 153
  },
  "hsl": {
    "h": 243.13,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36544,
    "c": 0.17798,
    "h": 275.3
  },
  "luminance": 0.04222
}

Semantic roles & 50–950 ramp

primary
#2C2699
secondary
#B8BD5E
accent
#E344DB
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2C2699

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

Preview Lab → · Contrast checker → · Palette generator →

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