#2C2099#2C2099

#2C2099 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.184 H 276.1°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#2C2099
RGBrgb(44, 32, 153)
HSLhsl(246, 65%, 36%)
HSVhsv(246, 79%, 60%)
CMYKcmyk(71.2%, 79.1%, 0%, 40%)
CIE-LABlab(23.23, 43.47, -63.21)
CIE-LCHlch(23.23, 76.72, 304.52°)
OKLaboklab(35.73% 0.0196 -0.1827)
OKLCHoklch(35.73% 0.184 276.1)
XYZxyz(7.3031, 3.8677, 30.4925)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2099 #8D9920
analogous
#205199 #2C2099 #692099
triadic
#2C2099 #992C20 #20992C
tetradic
#2C2099 #992051 #8D9920 #209969
square
#2C2099 #992051 #8D9920 #209969
split-complementary
#2C2099 #996920 #519920
monochromatic
#0F0B34 #1D1566 #2C2099 #3B2BCC #6557DC

Accessibility & contrast

On white

11.84
#2C2099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2C2099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2099
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2099#FFFFFF#000000##FFFFFF
##2C20991.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9C
Deuteranopia (green-blind)
#003297
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2c2099;
/* rgb */ color: rgb(44, 32, 153);
/* oklch */ color: oklch(35.7% 0.184 276.1);
Tailwind
colors: {
  custom: {
    50: '#775eb8',
    500: '#2c2099',
    950: '#000000',
  },
}
SCSS
$custom: #2c2099;
$custom-light: #775eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2099",
  "rgb": {
    "r": 44,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 245.95,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35727,
    "c": 0.18379,
    "h": 276.1
  },
  "luminance": 0.03868
}

Semantic roles & 50–950 ramp

primary
#2C2099
secondary
#B5C055
accent
#E83FD8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2C2099

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

Preview Lab → · Contrast checker → · Palette generator →

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