#2C2CA5#2C2CA5

#2C2CA5 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.187 H 273.4°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#2C2CA5
RGBrgb(44, 44, 165)
HSLhsl(240, 58%, 41%)
HSVhsv(240, 73%, 65%)
CMYKcmyk(73.3%, 73.3%, 0%, 35.3%)
CIE-LABlab(26.88, 40.74, -64.49)
CIE-LCHlch(26.88, 76.28, 302.28°)
OKLaboklab(38.69% 0.011 -0.1866)
OKLCHoklch(38.69% 0.187 273.4)
XYZxyz(8.7286, 5.0526, 36.1052)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2CA5 #A5A52C
analogous
#2C68A5 #2C2CA5 #682CA5
triadic
#2C2CA5 #A52C2C #2CA52C
tetradic
#2C2CA5 #A52C68 #A5A52C #2CA568
square
#2C2CA5 #A52C68 #A5A52C #2CA568
split-complementary
#2C2CA5 #A5682C #68A52C
monochromatic
#121244 #1F1F75 #2C2CA5 #4242CD #7272D9

Accessibility & contrast

On white

10.44
#2C2CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2C2CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2CA5
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2CA5#FFFFFF#000000##FFFFFF
##2C2CA51.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A9
Deuteranopia (green-blind)
#003AA3
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c2ca5;
/* rgb */ color: rgb(44, 44, 165);
/* oklch */ color: oklch(38.7% 0.187 273.4);
Tailwind
colors: {
  custom: {
    50: '#7866c1',
    500: '#2c2ca5',
    950: '#000000',
  },
}
SCSS
$custom: #2c2ca5;
$custom-light: #7866c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2ca5",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 240,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38692,
    "c": 0.18688,
    "h": 273.4
  },
  "luminance": 0.05053
}

Semantic roles & 50–950 ramp

primary
#2C2CA5
secondary
#C1C16C
accent
#E147E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2C2CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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