#2C2299#2C2299

#2C2299 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.182 H 275.9°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#2C2299
RGBrgb(44, 34, 153)
HSLhsl(245, 64%, 37%)
HSVhsv(245, 78%, 60%)
CMYKcmyk(71.2%, 77.8%, 0%, 40%)
CIE-LABlab(23.60, 42.41, -62.60)
CIE-LCHlch(23.60, 75.61, 304.12°)
OKLaboklab(35.99% 0.0186 -0.181)
OKLCHoklch(35.99% 0.182 275.9)
XYZxyz(7.3586, 3.9787, 30.5110)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2299 #8F9922
analogous
#225499 #2C2299 #682299
triadic
#2C2299 #992C22 #22992C
tetradic
#2C2299 #992254 #8F9922 #229968
square
#2C2299 #992254 #8F9922 #229968
split-complementary
#2C2299 #996822 #549922
monochromatic
#0F0C35 #1E1767 #2C2299 #3A2DCB #665BDB

Accessibility & contrast

On white

11.69
#2C2299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2C2299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2299
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2299#FFFFFF#000000##FFFFFF
##2C22991.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9C
Deuteranopia (green-blind)
#003397
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c2299;
/* rgb */ color: rgb(44, 34, 153);
/* oklch */ color: oklch(36.0% 0.182 275.9);
Tailwind
colors: {
  custom: {
    50: '#7660b8',
    500: '#2c2299',
    950: '#000000',
  },
}
SCSS
$custom: #2c2299;
$custom-light: #7660b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2299",
  "rgb": {
    "r": 44,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 245.042,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35988,
    "c": 0.18192,
    "h": 275.9
  },
  "luminance": 0.03979
}

Semantic roles & 50–950 ramp

primary
#2C2299
secondary
#B6BF58
accent
#E741D9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2C2299

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

Preview Lab → · Contrast checker → · Palette generator →

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