#2C2CA1#2C2CA1

#2C2CA1 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.182 H 273.7°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#2C2CA1
RGBrgb(44, 44, 161)
HSLhsl(240, 57%, 40%)
HSVhsv(240, 73%, 63%)
CMYKcmyk(72.7%, 72.7%, 0%, 36.9%)
CIE-LABlab(26.47, 39.37, -62.74)
CIE-LCHlch(26.47, 74.07, 302.11°)
OKLaboklab(38.28% 0.0117 -0.1815)
OKLCHoklch(38.28% 0.182 273.7)
XYZxyz(8.3703, 4.9092, 34.2178)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2CA1 #A1A12C
analogous
#2C66A1 #2C2CA1 #662CA1
triadic
#2C2CA1 #A12C2C #2CA12C
tetradic
#2C2CA1 #A12C66 #A1A12C #2CA166
square
#2C2CA1 #A12C66 #A1A12C #2CA166
split-complementary
#2C2CA1 #A1662C #66A12C
monochromatic
#121241 #1F1F71 #2C2CA1 #4040CB #7070D8

Accessibility & contrast

On white

10.60
#2C2CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2C2CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2CA1
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2CA1#FFFFFF#000000##FFFFFF
##2C2CA11.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00399F
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2c2ca1;
/* rgb */ color: rgb(44, 44, 161);
/* oklch */ color: oklch(38.3% 0.182 273.7);
Tailwind
colors: {
  custom: {
    50: '#7766be',
    500: '#2c2ca1',
    950: '#000000',
  },
}
SCSS
$custom: #2c2ca1;
$custom-light: #7766be;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2ca1",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 240,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38277,
    "c": 0.18183,
    "h": 273.7
  },
  "luminance": 0.0491
}

Semantic roles & 50–950 ramp

primary
#2C2CA1
secondary
#BFBF6A
accent
#E047E0
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2C2CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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