#2C2AB9#2C2AB9

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

Color values

HEX#2C2AB9
RGBrgb(44, 42, 185)
HSLhsl(241, 63%, 45%)
HSVhsv(241, 77%, 73%)
CMYKcmyk(76.2%, 77.3%, 0%, 27.5%)
CIE-LABlab(28.62, 48.48, -73.60)
CIE-LCHlch(28.62, 88.13, 303.38°)
OKLaboklab(40.56% 0.0081 -0.213)
OKLCHoklch(40.56% 0.213 272.2)
XYZxyz(10.6207, 5.6930, 46.4287)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2AB9 #B7B92A
analogous
#2A70B9 #2C2AB9 #742AB9
triadic
#2C2AB9 #B92C2A #2AB92C
tetradic
#2C2AB9 #B92A70 #B7B92A #2AB974
square
#2C2AB9 #B92A70 #B7B92A #2AB974
split-complementary
#2C2AB9 #B9742A #70B92A
monochromatic
#141355 #201F87 #2C2AB9 #4C4AD6 #7E7CE1

Accessibility & contrast

On white

9.82
#2C2AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2C2AB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2AB9
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2AB9#FFFFFF#000000##FFFFFF
##2C2AB91.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c2ab9;
/* rgb */ color: rgb(44, 42, 185);
/* oklch */ color: oklch(40.6% 0.213 272.2);
Tailwind
colors: {
  custom: {
    50: '#7d66cf',
    500: '#2c2ab9',
    950: '#000000',
  },
}
SCSS
$custom: #2c2ab9;
$custom-light: #7d66cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2ab9",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 185
  },
  "hsl": {
    "h": 240.839,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40557,
    "c": 0.21317,
    "h": 272.2
  },
  "luminance": 0.05694
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C2AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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