#2C2D83#2C2D83

#2C2D83 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.141 H 276.0°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#2C2D83
RGBrgb(44, 45, 131)
HSLhsl(239, 50%, 34%)
HSVhsv(239, 66%, 51%)
CMYKcmyk(66.4%, 65.6%, 0%, 48.6%)
CIE-LABlab(23.84, 28.17, -48.55)
CIE-LCHlch(23.84, 56.13, 300.13°)
OKLaboklab(35.5% 0.0147 -0.1399)
OKLCHoklch(35.5% 0.141 276)
XYZxyz(6.0725, 4.0504, 21.9301)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2D83 #83822C
analogous
#2C5983 #2C2D83 #572C83
triadic
#2C2D83 #832C2D #2D832C
tetradic
#2C2D83 #832C59 #83822C #2C8357
square
#2C2D83 #832C59 #83822C #2C8357
split-complementary
#2C2D83 #83572C #59832C
monochromatic
#0D0E27 #1D1D55 #2C2D83 #3B3DB1 #6061CA

Accessibility & contrast

On white

11.60
#2C2D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2C2D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2D83
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2D83#FFFFFF#000000##FFFFFF
##2C2D831.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#003581
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c2d83;
/* rgb */ color: rgb(44, 45, 131);
/* oklch */ color: oklch(35.5% 0.141 276.0);
Tailwind
colors: {
  custom: {
    50: '#7066a8',
    500: '#2c2d83',
    950: '#000000',
  },
}
SCSS
$custom: #2c2d83;
$custom-light: #7066a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2d83",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 239.31,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35497,
    "c": 0.14071,
    "h": 276
  },
  "luminance": 0.04051
}

Semantic roles & 50–950 ramp

primary
#2C2D83
secondary
#B0AF5B
accent
#D84FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2C2D83

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

Preview Lab → · Contrast checker → · Palette generator →

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