#2C2D82#2C2D82

#2C2D82 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.139 H 276.1°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#2C2D82
RGBrgb(44, 45, 130)
HSLhsl(239, 49%, 34%)
HSVhsv(239, 66%, 51%)
CMYKcmyk(66.2%, 65.4%, 0%, 49%)
CIE-LABlab(23.75, 27.81, -48.07)
CIE-LCHlch(23.75, 55.53, 300.05°)
OKLaboklab(35.4% 0.0148 -0.1385)
OKLCHoklch(35.4% 0.139 276.1)
XYZxyz(6.0050, 4.0235, 21.5749)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2D82 #82812C
analogous
#2C5882 #2C2D82 #562C82
triadic
#2C2D82 #822C2D #2D822C
tetradic
#2C2D82 #822C58 #82812C #2C8256
square
#2C2D82 #822C58 #82812C #2C8256
split-complementary
#2C2D82 #82562C #58822C
monochromatic
#0D0D27 #1D1D54 #2C2D82 #3B3DB0 #5F61C9

Accessibility & contrast

On white

11.64
#2C2D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2C2D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2D82
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2D82#FFFFFF#000000##FFFFFF
##2C2D821.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c2d82;
/* rgb */ color: rgb(44, 45, 130);
/* oklch */ color: oklch(35.4% 0.139 276.1);
Tailwind
colors: {
  custom: {
    50: '#7066a7',
    500: '#2c2d82',
    950: '#000000',
  },
}
SCSS
$custom: #2c2d82;
$custom-light: #7066a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2d82",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 130
  },
  "hsl": {
    "h": 239.302,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35404,
    "c": 0.13931,
    "h": 276.1
  },
  "luminance": 0.04024
}

Semantic roles & 50–950 ramp

primary
#2C2D82
secondary
#AFAE5B
accent
#D74FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2C2D82

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

Preview Lab → · Contrast checker → · Palette generator →

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