#2C2482#2C2482

#2C2482 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.150 H 278.5°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#2C2482
RGBrgb(44, 36, 130)
HSLhsl(245, 57%, 33%)
HSVhsv(245, 72%, 51%)
CMYKcmyk(66.2%, 72.3%, 0%, 49%)
CIE-LABlab(21.61, 33.57, -51.57)
CIE-LCHlch(21.61, 61.53, 303.06°)
OKLaboklab(33.86% 0.0222 -0.1488)
OKLCHoklch(33.86% 0.15 278.5)
XYZxyz(5.6976, 3.4085, 21.4724)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2482 #7A8224
analogous
#244B82 #2C2482 #5B2482
triadic
#2C2482 #822C24 #24822C
tetradic
#2C2482 #82244B #7A8224 #24825B
square
#2C2482 #82244B #7A8224 #24825B
split-complementary
#2C2482 #825B24 #4B8224
monochromatic
#0C0922 #1C1752 #2C2482 #3C31B2 #5C51CF

Accessibility & contrast

On white

12.49
#2C2482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2C2482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2482
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2482#FFFFFF#000000##FFFFFF
##2C24821.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003885
Deuteranopia (green-blind)
#003080
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2c2482;
/* rgb */ color: rgb(44, 36, 130);
/* oklch */ color: oklch(33.9% 0.150 278.5);
Tailwind
colors: {
  custom: {
    50: '#7160a7',
    500: '#2c2482',
    950: '#000000',
  },
}
SCSS
$custom: #2c2482;
$custom-light: #7160a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2482",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 130
  },
  "hsl": {
    "h": 245.106,
    "s": 56.627,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33856,
    "c": 0.15045,
    "h": 278.5
  },
  "luminance": 0.03409
}

Semantic roles & 50–950 ramp

primary
#2C2482
secondary
#AAB34F
accent
#E048D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2C2482

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

Preview Lab → · Contrast checker → · Palette generator →

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