#2C2883#2C2883

#2C2883 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.6% C 0.147 H 277.4°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#2C2883
RGBrgb(44, 40, 131)
HSLhsl(243, 53%, 34%)
HSVhsv(243, 69%, 51%)
CMYKcmyk(66.4%, 69.5%, 0%, 48.6%)
CIE-LABlab(22.62, 31.41, -50.54)
CIE-LCHlch(22.62, 59.50, 301.87°)
OKLaboklab(34.61% 0.0189 -0.1458)
OKLCHoklch(34.61% 0.147 277.4)
XYZxyz(5.8929, 3.6913, 21.8703)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2883 #7F8328
analogous
#285183 #2C2883 #592883
triadic
#2C2883 #832C28 #28832C
tetradic
#2C2883 #832851 #7F8328 #288359
square
#2C2883 #832851 #7F8328 #288359
split-complementary
#2C2883 #835928 #518328
monochromatic
#0D0B25 #1C1A54 #2C2883 #3C36B2 #5E59CC

Accessibility & contrast

On white

12.08
#2C2883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2C2883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2883
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2883#FFFFFF#000000##FFFFFF
##2C28831.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A86
Deuteranopia (green-blind)
#003281
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2c2883;
/* rgb */ color: rgb(44, 40, 131);
/* oklch */ color: oklch(34.6% 0.147 277.4);
Tailwind
colors: {
  custom: {
    50: '#7162a8',
    500: '#2c2883',
    950: '#000000',
  },
}
SCSS
$custom: #2c2883;
$custom-light: #7162a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2883",
  "rgb": {
    "r": 44,
    "g": 40,
    "b": 131
  },
  "hsl": {
    "h": 242.637,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34614,
    "c": 0.147,
    "h": 277.4
  },
  "luminance": 0.03692
}

Semantic roles & 50–950 ramp

primary
#2C2883
secondary
#ADB155
accent
#DD4BD6
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2C2883

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

Preview Lab → · Contrast checker → · Palette generator →

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