#2C2483#2C2483

#2C2483 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.152 H 278.3°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#2C2483
RGBrgb(44, 36, 131)
HSLhsl(245, 57%, 33%)
HSVhsv(245, 73%, 51%)
CMYKcmyk(66.4%, 72.5%, 0%, 48.6%)
CIE-LABlab(21.71, 33.91, -52.03)
CIE-LCHlch(21.71, 62.11, 303.09°)
OKLaboklab(33.96% 0.022 -0.1502)
OKLCHoklch(33.96% 0.152 278.3)
XYZxyz(5.7650, 3.4355, 21.8276)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2483 #7B8324
analogous
#244B83 #2C2483 #5C2483
triadic
#2C2483 #832C24 #24832C
tetradic
#2C2483 #83244B #7B8324 #24835C
square
#2C2483 #83244B #7B8324 #24835C
split-complementary
#2C2483 #835C24 #4B8324
monochromatic
#0C0A23 #1C1753 #2C2483 #3C31B3 #5D52CF

Accessibility & contrast

On white

12.45
#2C2483 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2C2483 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2483
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2483#FFFFFF#000000##FFFFFF
##2C24831.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#003081
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2c2483;
/* rgb */ color: rgb(44, 36, 131);
/* oklch */ color: oklch(34.0% 0.152 278.3);
Tailwind
colors: {
  custom: {
    50: '#7160a8',
    500: '#2c2483',
    950: '#000000',
  },
}
SCSS
$custom: #2c2483;
$custom-light: #7160a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2483",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 131
  },
  "hsl": {
    "h": 245.053,
    "s": 56.886,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33957,
    "c": 0.15178,
    "h": 278.3
  },
  "luminance": 0.03436
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C2483

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

Preview Lab → · Contrast checker → · Palette generator →

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