#2C2583#2C2583

#2C2583 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.1% C 0.151 H 278.1°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#2C2583
RGBrgb(44, 37, 131)
HSLhsl(244, 56%, 33%)
HSVhsv(244, 72%, 51%)
CMYKcmyk(66.4%, 71.8%, 0%, 48.6%)
CIE-LABlab(21.93, 33.30, -51.67)
CIE-LCHlch(21.93, 61.47, 302.80°)
OKLaboklab(34.12% 0.0213 -0.1491)
OKLCHoklch(34.12% 0.151 278.1)
XYZxyz(5.7957, 3.4968, 21.8379)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2583 #7C8325
analogous
#254D83 #2C2583 #5B2583
triadic
#2C2583 #832C25 #25832C
tetradic
#2C2583 #83254D #7C8325 #25835B
square
#2C2583 #83254D #7C8325 #25835B
split-complementary
#2C2583 #835B25 #4D8325
monochromatic
#0C0A24 #1C1853 #2C2583 #3C32B3 #5D54CF

Accessibility & contrast

On white

12.36
#2C2583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2C2583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2583
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2583#FFFFFF#000000##FFFFFF
##2C25831.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c2583;
/* rgb */ color: rgb(44, 37, 131);
/* oklch */ color: oklch(34.1% 0.151 278.1);
Tailwind
colors: {
  custom: {
    50: '#7160a8',
    500: '#2c2583',
    950: '#000000',
  },
}
SCSS
$custom: #2c2583;
$custom-light: #7160a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2583",
  "rgb": {
    "r": 44,
    "g": 37,
    "b": 131
  },
  "hsl": {
    "h": 244.468,
    "s": 55.952,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34117,
    "c": 0.15061,
    "h": 278.1
  },
  "luminance": 0.03497
}

Semantic roles & 50–950 ramp

primary
#2C2583
secondary
#ACB351
accent
#DF49D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2C2583

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

Preview Lab → · Contrast checker → · Palette generator →

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