#2C1E80#2C1E80

#2C1E80 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.155 H 280.1°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#2C1E80
RGBrgb(44, 30, 128)
HSLhsl(249, 62%, 31%)
HSVhsv(249, 77%, 50%)
CMYKcmyk(65.6%, 76.6%, 0%, 49.8%)
CIE-LABlab(20.13, 36.45, -52.73)
CIE-LCHlch(20.13, 64.11, 304.65°)
OKLaboklab(32.74% 0.027 -0.1522)
OKLCHoklch(32.74% 0.155 280.1)
XYZxyz(5.3980, 3.0221, 20.7168)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1E80 #72801E
analogous
#1E4180 #2C1E80 #5D1E80
triadic
#2C1E80 #802C1E #1E802C
tetradic
#2C1E80 #801E41 #72801E #1E805D
square
#2C1E80 #801E41 #72801E #1E805D
split-complementary
#2C1E80 #805D1E #41801E
monochromatic
#0A071D #1B124E #2C1E80 #3D2AB2 #5945D3

Accessibility & contrast

On white

13.09
#2C1E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2C1E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1E80
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1E80#FFFFFF#000000##FFFFFF
##2C1E801.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#002D7E
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2c1e80;
/* rgb */ color: rgb(44, 30, 128);
/* oklch */ color: oklch(32.7% 0.155 280.1);
Tailwind
colors: {
  custom: {
    50: '#715ca6',
    500: '#2c1e80',
    950: '#000000',
  },
}
SCSS
$custom: #2c1e80;
$custom-light: #715ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1e80",
  "rgb": {
    "r": 44,
    "g": 30,
    "b": 128
  },
  "hsl": {
    "h": 248.571,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32742,
    "c": 0.15455,
    "h": 280.1
  },
  "luminance": 0.03023
}

Semantic roles & 50–950 ramp

primary
#2C1E80
secondary
#A4B347
accent
#E543CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #2C1E80

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

Preview Lab → · Contrast checker → · Palette generator →

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