#2C2A91#2C2A91

#2C2A91 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.163 H 275.4°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#2C2A91
RGBrgb(44, 42, 145)
HSLhsl(241, 55%, 37%)
HSVhsv(241, 71%, 57%)
CMYKcmyk(69.7%, 71%, 0%, 43.1%)
CIE-LABlab(24.43, 35.06, -56.30)
CIE-LCHlch(24.43, 66.32, 301.91°)
OKLaboklab(36.33% 0.0154 -0.1626)
OKLCHoklch(36.33% 0.163 275.4)
XYZxyz(6.9758, 4.2351, 27.2324)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2A91 #8F912A
analogous
#2A5C91 #2C2A91 #602A91
triadic
#2C2A91 #912C2A #2A912C
tetradic
#2C2A91 #912A5C #8F912A #2A9160
square
#2C2A91 #912A5C #8F912A #2A9160
split-complementary
#2C2A91 #91602A #5C912A
monochromatic
#0F0F32 #1E1C62 #2C2A91 #3A38C0 #6663D2

Accessibility & contrast

On white

11.37
#2C2A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2C2A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2A91
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2A91#FFFFFF#000000##FFFFFF
##2C2A911.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F94
Deuteranopia (green-blind)
#00358F
Tritanopia (blue-blind)
#00465A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c2a91;
/* rgb */ color: rgb(44, 42, 145);
/* oklch */ color: oklch(36.3% 0.163 275.4);
Tailwind
colors: {
  custom: {
    50: '#7464b2',
    500: '#2c2a91',
    950: '#000000',
  },
}
SCSS
$custom: #2c2a91;
$custom-light: #7464b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2a91",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 145
  },
  "hsl": {
    "h": 241.165,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36331,
    "c": 0.16337,
    "h": 275.4
  },
  "luminance": 0.04236
}

Semantic roles & 50–950 ramp

primary
#2C2A91
secondary
#B6B85F
accent
#DE49DC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2C2A91

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

Preview Lab → · Contrast checker → · Palette generator →

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