#2C2C92#2C2C92

#2C2C92 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.162 H 274.9°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#2C2C92
RGBrgb(44, 44, 146)
HSLhsl(240, 54%, 37%)
HSVhsv(240, 70%, 57%)
CMYKcmyk(69.9%, 69.9%, 0%, 42.7%)
CIE-LABlab(24.99, 34.16, -56.00)
CIE-LCHlch(24.99, 65.60, 301.38°)
OKLaboklab(36.76% 0.0139 -0.1618)
OKLCHoklch(36.76% 0.162 274.9)
XYZxyz(7.1260, 4.4115, 27.6645)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2C92 #92922C
analogous
#2C5F92 #2C2C92 #5F2C92
triadic
#2C2C92 #922C2C #2C922C
tetradic
#2C2C92 #922C5F #92922C #2C925F
square
#2C2C92 #922C5F #92922C #2C925F
split-complementary
#2C2C92 #925F2C #5F922C
monochromatic
#101034 #1E1E63 #2C2C92 #3A3AC1 #6767D1

Accessibility & contrast

On white

11.16
#2C2C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2C2C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2C92
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2C92#FFFFFF#000000##FFFFFF
##2C2C921.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#003790
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c2c92;
/* rgb */ color: rgb(44, 44, 146);
/* oklch */ color: oklch(36.8% 0.162 274.9);
Tailwind
colors: {
  custom: {
    50: '#7466b3',
    500: '#2c2c92',
    950: '#000000',
  },
}
SCSS
$custom: #2c2c92;
$custom-light: #7466b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2c92",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 146
  },
  "hsl": {
    "h": 240,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36759,
    "c": 0.16238,
    "h": 274.9
  },
  "luminance": 0.04412
}

Semantic roles & 50–950 ramp

primary
#2C2C92
secondary
#B8B862
accent
#DD4BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C2C92

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

Preview Lab → · Contrast checker → · Palette generator →

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