#2C2AB8#2C2AB8

#2C2AB8 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.4% C 0.212 H 272.2°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#2C2AB8
RGBrgb(44, 42, 184)
HSLhsl(241, 63%, 44%)
HSVhsv(241, 77%, 72%)
CMYKcmyk(76.1%, 77.2%, 0%, 27.8%)
CIE-LABlab(28.51, 48.16, -73.19)
CIE-LCHlch(28.51, 87.61, 303.35°)
OKLaboklab(40.45% 0.0083 -0.2118)
OKLCHoklch(40.45% 0.212 272.2)
XYZxyz(10.5155, 5.6510, 45.8747)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2AB8 #B6B82A
analogous
#2A6FB8 #2C2AB8 #732AB8
triadic
#2C2AB8 #B82C2A #2AB82C
tetradic
#2C2AB8 #B82A6F #B6B82A #2AB873
square
#2C2AB8 #B82A6F #B6B82A #2AB873
split-complementary
#2C2AB8 #B8732A #6FB82A
monochromatic
#141354 #201F86 #2C2AB8 #4C4AD6 #7D7BE1

Accessibility & contrast

On white

9.86
#2C2AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2C2AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2AB8
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2AB8#FFFFFF#000000##FFFFFF
##2C2AB81.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABC
Deuteranopia (green-blind)
#003CB6
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c2ab8;
/* rgb */ color: rgb(44, 42, 184);
/* oklch */ color: oklch(40.4% 0.212 272.2);
Tailwind
colors: {
  custom: {
    50: '#7d66cf',
    500: '#2c2ab8',
    950: '#000000',
  },
}
SCSS
$custom: #2c2ab8;
$custom-light: #7d66cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2ab8",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 184
  },
  "hsl": {
    "h": 240.845,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.40447,
    "c": 0.21199,
    "h": 272.2
  },
  "luminance": 0.05652
}

Semantic roles & 50–950 ramp

primary
#2C2AB8
secondary
#C8C975
accent
#E642E4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2C2AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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