#2C2A93#2C2A93

#2C2A93 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.166 H 275.2°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#2C2A93
RGBrgb(44, 42, 147)
HSLhsl(241, 56%, 37%)
HSVhsv(241, 71%, 58%)
CMYKcmyk(70.1%, 71.4%, 0%, 42.4%)
CIE-LABlab(24.63, 35.75, -57.21)
CIE-LCHlch(24.63, 67.46, 302.00°)
OKLaboklab(36.53% 0.0151 -0.1653)
OKLCHoklch(36.53% 0.166 275.2)
XYZxyz(7.1314, 4.2973, 28.0518)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2A93 #91932A
analogous
#2A5D93 #2C2A93 #612A93
triadic
#2C2A93 #932C2A #2A932C
tetradic
#2C2A93 #932A5D #91932A #2A9361
square
#2C2A93 #932A5D #91932A #2A9361
split-complementary
#2C2A93 #93612A #5D932A
monochromatic
#100F34 #1E1C63 #2C2A93 #3A38C3 #6765D3

Accessibility & contrast

On white

11.29
#2C2A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2C2A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2A93
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2A93#FFFFFF#000000##FFFFFF
##2C2A931.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#003691
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c2a93;
/* rgb */ color: rgb(44, 42, 147);
/* oklch */ color: oklch(36.5% 0.166 275.2);
Tailwind
colors: {
  custom: {
    50: '#7464b4',
    500: '#2c2a93',
    950: '#000000',
  },
}
SCSS
$custom: #2c2a93;
$custom-light: #7464b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2a93",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 147
  },
  "hsl": {
    "h": 241.143,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36532,
    "c": 0.16599,
    "h": 275.2
  },
  "luminance": 0.04298
}

Semantic roles & 50–950 ramp

primary
#2C2A93
secondary
#B7B960
accent
#DF49DC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2C2A93

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

Preview Lab → · Contrast checker → · Palette generator →

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