#2C2AB3#2C2AB3

#2C2AB3 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.9% C 0.206 H 272.6°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#2C2AB3
RGBrgb(44, 42, 179)
HSLhsl(241, 62%, 43%)
HSVhsv(241, 77%, 70%)
CMYKcmyk(75.4%, 76.5%, 0%, 29.8%)
CIE-LABlab(27.97, 46.54, -71.12)
CIE-LCHlch(27.97, 84.99, 303.20°)
OKLaboklab(39.9% 0.0093 -0.2058)
OKLCHoklch(39.9% 0.206 272.6)
XYZxyz(10.0006, 5.4450, 43.1630)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2AB3 #B1B32A
analogous
#2A6CB3 #2C2AB3 #702AB3
triadic
#2C2AB3 #B32C2A #2AB32C
tetradic
#2C2AB3 #B32A6C #B1B32A #2AB370
square
#2C2AB3 #B32A6C #B1B32A #2AB370
split-complementary
#2C2AB3 #B3702A #6CB32A
monochromatic
#141350 #201E81 #2C2AB3 #4946D4 #7A78DF

Accessibility & contrast

On white

10.05
#2C2AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2C2AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2AB3
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2AB3#FFFFFF#000000##FFFFFF
##2C2AB31.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B7
Deuteranopia (green-blind)
#003BB1
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c2ab3;
/* rgb */ color: rgb(44, 42, 179);
/* oklch */ color: oklch(39.9% 0.206 272.6);
Tailwind
colors: {
  custom: {
    50: '#7c66cb',
    500: '#2c2ab3',
    950: '#000000',
  },
}
SCSS
$custom: #2c2ab3;
$custom-light: #7c66cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2ab3",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 240.876,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.39901,
    "c": 0.20603,
    "h": 272.6
  },
  "luminance": 0.05446
}

Semantic roles & 50–950 ramp

primary
#2C2AB3
secondary
#C6C772
accent
#E543E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C2AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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