#2C2983#2C2983

#2C2983 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.146 H 277.1°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#2C2983
RGBrgb(44, 41, 131)
HSLhsl(242, 52%, 34%)
HSVhsv(242, 69%, 51%)
CMYKcmyk(66.4%, 68.7%, 0%, 48.6%)
CIE-LABlab(22.86, 30.77, -50.15)
CIE-LCHlch(22.86, 58.84, 301.54°)
OKLaboklab(34.78% 0.0181 -0.1446)
OKLCHoklch(34.78% 0.146 277.1)
XYZxyz(5.9270, 3.7596, 21.8817)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2983 #808329
analogous
#295383 #2C2983 #592983
triadic
#2C2983 #832C29 #29832C
tetradic
#2C2983 #832953 #808329 #298359
square
#2C2983 #832953 #808329 #298359
split-complementary
#2C2983 #835929 #538329
monochromatic
#0D0C26 #1C1A54 #2C2983 #3C38B2 #5F5BCC

Accessibility & contrast

On white

11.99
#2C2983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2C2983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2983
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2983#FFFFFF#000000##FFFFFF
##2C29831.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A86
Deuteranopia (green-blind)
#003381
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2c2983;
/* rgb */ color: rgb(44, 41, 131);
/* oklch */ color: oklch(34.8% 0.146 277.1);
Tailwind
colors: {
  custom: {
    50: '#7163a8',
    500: '#2c2983',
    950: '#000000',
  },
}
SCSS
$custom: #2c2983;
$custom-light: #7163a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2983",
  "rgb": {
    "r": 44,
    "g": 41,
    "b": 131
  },
  "hsl": {
    "h": 242,
    "s": 52.326,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34785,
    "c": 0.14578,
    "h": 277.1
  },
  "luminance": 0.0376
}

Semantic roles & 50–950 ramp

primary
#2C2983
secondary
#AEB157
accent
#DC4CD7
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #2C2983

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

Preview Lab → · Contrast checker → · Palette generator →

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