#2C2EA4#2C2EA4

#2C2EA4 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.9% C 0.184 H 273.1°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#2C2EA4
RGBrgb(44, 46, 164)
HSLhsl(239, 58%, 41%)
HSVhsv(239, 73%, 64%)
CMYKcmyk(73.2%, 72%, 0%, 35.7%)
CIE-LABlab(27.21, 39.21, -63.35)
CIE-LCHlch(27.21, 74.50, 301.75°)
OKLaboklab(38.9% 0.0101 -0.1832)
OKLCHoklch(38.9% 0.184 273.1)
XYZxyz(8.7143, 5.1689, 35.6532)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2EA4 #A4A22C
analogous
#2C6AA4 #2C2EA4 #662CA4
triadic
#2C2EA4 #A42C2E #2EA42C
tetradic
#2C2EA4 #A42C6A #A4A22C #2CA466
square
#2C2EA4 #A42C6A #A4A22C #2CA466
split-complementary
#2C2EA4 #A4662C #6AA42C
monochromatic
#121343 #1F2074 #2C2EA4 #4143CC #7173D9

Accessibility & contrast

On white

10.32
#2C2EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2C2EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2EA4
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2EA4#FFFFFF#000000##FFFFFF
##2C2EA41.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c2ea4;
/* rgb */ color: rgb(44, 46, 164);
/* oklch */ color: oklch(38.9% 0.184 273.1);
Tailwind
colors: {
  custom: {
    50: '#7868c0',
    500: '#2c2ea4',
    950: '#000000',
  },
}
SCSS
$custom: #2c2ea4;
$custom-light: #7868c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2ea4",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 239,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38895,
    "c": 0.18352,
    "h": 273.1
  },
  "luminance": 0.0517
}

Semantic roles & 50–950 ramp

primary
#2C2EA4
secondary
#C0BF6B
accent
#DE47E1
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2C2EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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