#2C2C99#2C2C99

#2C2C99 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.172 H 274.3°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#2C2C99
RGBrgb(44, 44, 153)
HSLhsl(240, 55%, 39%)
HSVhsv(240, 71%, 60%)
CMYKcmyk(71.2%, 71.2%, 0%, 40%)
CIE-LABlab(25.67, 36.61, -59.19)
CIE-LCHlch(25.67, 69.59, 301.74°)
OKLaboklab(37.46% 0.0129 -0.1711)
OKLCHoklch(37.46% 0.172 274.3)
XYZxyz(7.6872, 4.6360, 30.6205)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2C99 #99992C
analogous
#2C6299 #2C2C99 #622C99
triadic
#2C2C99 #992C2C #2C992C
tetradic
#2C2C99 #992C62 #99992C #2C9962
square
#2C2C99 #992C62 #99992C #2C9962
split-complementary
#2C2C99 #99622C #62992C
monochromatic
#11113A #1E1E69 #2C2C99 #3B3BC7 #6B6BD4

Accessibility & contrast

On white

10.90
#2C2C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2C99
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2C99#FFFFFF#000000##FFFFFF
##2C2C991.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.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: #2c2c99;
/* rgb */ color: rgb(44, 44, 153);
/* oklch */ color: oklch(37.5% 0.172 274.3);
Tailwind
colors: {
  custom: {
    50: '#7666b8',
    500: '#2c2c99',
    950: '#000000',
  },
}
SCSS
$custom: #2c2c99;
$custom-light: #7666b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2c99",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 153
  },
  "hsl": {
    "h": 240,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.3746,
    "c": 0.17157,
    "h": 274.3
  },
  "luminance": 0.04637
}

Semantic roles & 50–950 ramp

primary
#2C2C99
secondary
#BBBB66
accent
#DF49DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #2C2C99

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

Preview Lab → · Contrast checker → · Palette generator →

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