#2C2B82#2C2B82

#2C2B82 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.142 H 276.7°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#2C2B82
RGBrgb(44, 43, 130)
HSLhsl(241, 50%, 34%)
HSVhsv(241, 67%, 51%)
CMYKcmyk(66.2%, 66.9%, 0%, 49%)
CIE-LABlab(23.25, 29.13, -48.88)
CIE-LCHlch(23.25, 56.90, 300.79°)
OKLaboklab(35.04% 0.0165 -0.1409)
OKLCHoklch(35.04% 0.142 276.7)
XYZxyz(5.9305, 3.8744, 21.5501)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2B82 #81822B
analogous
#2B5682 #2C2B82 #582B82
triadic
#2C2B82 #822C2B #2B822C
tetradic
#2C2B82 #822B56 #81822B #2B8258
square
#2C2B82 #822B56 #81822B #2B8258
split-complementary
#2C2B82 #82582B #56822B
monochromatic
#0D0D26 #1C1C54 #2C2B82 #3C3AB0 #5F5ECA

Accessibility & contrast

On white

11.83
#2C2B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2C2B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2B82
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2B82#FFFFFF#000000##FFFFFF
##2C2B821.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B85
Deuteranopia (green-blind)
#003480
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2c2b82;
/* rgb */ color: rgb(44, 43, 130);
/* oklch */ color: oklch(35.0% 0.142 276.7);
Tailwind
colors: {
  custom: {
    50: '#7064a7',
    500: '#2c2b82',
    950: '#000000',
  },
}
SCSS
$custom: #2c2b82;
$custom-light: #7064a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2b82",
  "rgb": {
    "r": 44,
    "g": 43,
    "b": 130
  },
  "hsl": {
    "h": 240.69,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35041,
    "c": 0.14189,
    "h": 276.7
  },
  "luminance": 0.03875
}

Semantic roles & 50–950 ramp

primary
#2C2B82
secondary
#AFB059
accent
#DA4ED8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #2C2B82

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

Preview Lab → · Contrast checker → · Palette generator →

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