#2C2BA2#2C2BA2

#2C2BA2 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.184 H 273.7°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#2C2BA2
RGBrgb(44, 43, 162)
HSLhsl(241, 58%, 40%)
HSVhsv(241, 73%, 64%)
CMYKcmyk(72.8%, 73.5%, 0%, 36.5%)
CIE-LABlab(26.36, 40.31, -63.53)
CIE-LCHlch(26.36, 75.24, 302.39°)
OKLaboklab(38.23% 0.012 -0.1838)
OKLCHoklch(38.23% 0.184 273.7)
XYZxyz(8.4220, 4.8710, 34.6718)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2BA2 #A1A22B
analogous
#2B66A2 #2C2BA2 #672BA2
triadic
#2C2BA2 #A22C2B #2BA22C
tetradic
#2C2BA2 #A22B66 #A1A22B #2BA267
square
#2C2BA2 #A22B66 #A1A22B #2BA267
split-complementary
#2C2BA2 #A2672B #66A22B
monochromatic
#121141 #1F1E72 #2C2BA2 #403ECC #706FD9

Accessibility & contrast

On white

10.64
#2C2BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2C2BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2BA2
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2BA2#FFFFFF#000000##FFFFFF
##2C2BA21.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A6
Deuteranopia (green-blind)
#0039A0
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c2ba2;
/* rgb */ color: rgb(44, 43, 162);
/* oklch */ color: oklch(38.2% 0.184 273.7);
Tailwind
colors: {
  custom: {
    50: '#7866bf',
    500: '#2c2ba2',
    950: '#000000',
  },
}
SCSS
$custom: #2c2ba2;
$custom-light: #7866bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2ba2",
  "rgb": {
    "r": 44,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 240.504,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38229,
    "c": 0.18415,
    "h": 273.7
  },
  "luminance": 0.04872
}

Semantic roles & 50–950 ramp

primary
#2C2BA2
secondary
#BFC069
accent
#E147E0
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2C2BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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