#2C2CA6#2C2CA6

#2C2CA6 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.188 H 273.3°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#2C2CA6
RGBrgb(44, 44, 166)
HSLhsl(240, 58%, 41%)
HSVhsv(240, 73%, 65%)
CMYKcmyk(73.5%, 73.5%, 0%, 34.9%)
CIE-LABlab(26.99, 41.08, -64.93)
CIE-LCHlch(26.99, 76.83, 302.32°)
OKLaboklab(38.8% 0.0108 -0.1878)
OKLCHoklch(38.8% 0.188 273.3)
XYZxyz(8.8200, 5.0891, 36.5865)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2CA6 #A6A62C
analogous
#2C69A6 #2C2CA6 #692CA6
triadic
#2C2CA6 #A62C2C #2CA62C
tetradic
#2C2CA6 #A62C69 #A6A62C #2CA669
square
#2C2CA6 #A62C69 #A6A62C #2CA669
split-complementary
#2C2CA6 #A6692C #69A62C
monochromatic
#121245 #1F1F76 #2C2CA6 #4242CD #7373DA

Accessibility & contrast

On white

10.41
#2C2CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2C2CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2CA6
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2CA6#FFFFFF#000000##FFFFFF
##2C2CA61.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#003AA4
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c2ca6;
/* rgb */ color: rgb(44, 44, 166);
/* oklch */ color: oklch(38.8% 0.188 273.3);
Tailwind
colors: {
  custom: {
    50: '#7966c2',
    500: '#2c2ca6',
    950: '#000000',
  },
}
SCSS
$custom: #2c2ca6;
$custom-light: #7966c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2ca6",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 240,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38797,
    "c": 0.18814,
    "h": 273.3
  },
  "luminance": 0.0509
}

Semantic roles & 50–950 ramp

primary
#2C2CA6
secondary
#C1C16D
accent
#E146E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2C2CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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