#2C2283#2C2283

#2C2283 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.154 H 278.8°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#2C2283
RGBrgb(44, 34, 131)
HSLhsl(246, 59%, 32%)
HSVhsv(246, 74%, 51%)
CMYKcmyk(66.4%, 74%, 0%, 48.6%)
CIE-LABlab(21.27, 35.12, -52.75)
CIE-LCHlch(21.27, 63.37, 303.65°)
OKLaboklab(33.65% 0.0235 -0.1523)
OKLCHoklch(33.65% 0.154 278.8)
XYZxyz(5.7062, 3.3178, 21.8080)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2283 #798322
analogous
#224883 #2C2283 #5D2283
triadic
#2C2283 #832C22 #22832C
tetradic
#2C2283 #832248 #798322 #22835D
square
#2C2283 #832248 #798322 #22835D
split-complementary
#2C2283 #835D22 #488322
monochromatic
#0B0922 #1C1552 #2C2283 #3C2FB4 #5C4ED1

Accessibility & contrast

On white

12.62
#2C2283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2C2283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2283
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2283#FFFFFF#000000##FFFFFF
##2C22831.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003786
Deuteranopia (green-blind)
#002F81
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2c2283;
/* rgb */ color: rgb(44, 34, 131);
/* oklch */ color: oklch(33.6% 0.154 278.8);
Tailwind
colors: {
  custom: {
    50: '#715fa8',
    500: '#2c2283',
    950: '#000000',
  },
}
SCSS
$custom: #2c2283;
$custom-light: #715fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2283",
  "rgb": {
    "r": 44,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 246.186,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33646,
    "c": 0.15406,
    "h": 278.8
  },
  "luminance": 0.03318
}

Semantic roles & 50–950 ramp

primary
#2C2283
secondary
#AAB44C
accent
#E246D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2C2283

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

Preview Lab → · Contrast checker → · Palette generator →

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