#2C2CA3#2C2CA3

#2C2CA3 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.184 H 273.5°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#2C2CA3
RGBrgb(44, 44, 163)
HSLhsl(240, 57%, 41%)
HSVhsv(240, 73%, 64%)
CMYKcmyk(73%, 73%, 0%, 36.1%)
CIE-LABlab(26.68, 40.06, -63.62)
CIE-LCHlch(26.68, 75.18, 302.20°)
OKLaboklab(38.48% 0.0113 -0.184)
OKLCHoklch(38.48% 0.184 273.5)
XYZxyz(8.5480, 4.9803, 35.1540)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2CA3 #A3A32C
analogous
#2C67A3 #2C2CA3 #672CA3
triadic
#2C2CA3 #A32C2C #2CA32C
tetradic
#2C2CA3 #A32C67 #A3A32C #2CA367
square
#2C2CA3 #A32C67 #A3A32C #2CA367
split-complementary
#2C2CA3 #A3672C #67A32C
monochromatic
#121243 #1F1F73 #2C2CA3 #4141CC #7171D9

Accessibility & contrast

On white

10.52
#2C2CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2C2CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2CA3
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2CA3#FFFFFF#000000##FFFFFF
##2C2CA31.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A7
Deuteranopia (green-blind)
#0039A1
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2c2ca3;
/* rgb */ color: rgb(44, 44, 163);
/* oklch */ color: oklch(38.5% 0.184 273.5);
Tailwind
colors: {
  custom: {
    50: '#7866bf',
    500: '#2c2ca3',
    950: '#000000',
  },
}
SCSS
$custom: #2c2ca3;
$custom-light: #7866bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2ca3",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 240,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38484,
    "c": 0.18437,
    "h": 273.5
  },
  "luminance": 0.04981
}

Semantic roles & 50–950 ramp

primary
#2C2CA3
secondary
#C0C06B
accent
#E147E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2C2CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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