#2C2383#2C2383

#2C2383 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.8% C 0.153 H 278.6°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#2C2383
RGBrgb(44, 35, 131)
HSLhsl(246, 58%, 33%)
HSVhsv(246, 73%, 51%)
CMYKcmyk(66.4%, 73.3%, 0%, 48.6%)
CIE-LABlab(21.49, 34.52, -52.40)
CIE-LCHlch(21.49, 62.74, 303.38°)
OKLaboklab(33.8% 0.0228 -0.1512)
OKLCHoklch(33.8% 0.153 278.6)
XYZxyz(5.7352, 3.3758, 21.8177)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2383 #7A8323
analogous
#234A83 #2C2383 #5C2383
triadic
#2C2383 #832C23 #23832C
tetradic
#2C2383 #83234A #7A8323 #23835C
square
#2C2383 #83234A #7A8323 #23835C
split-complementary
#2C2383 #835C23 #4A8323
monochromatic
#0C0922 #1C1653 #2C2383 #3C30B3 #5C50D0

Accessibility & contrast

On white

12.54
#2C2383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2C2383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2383
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2383#FFFFFF#000000##FFFFFF
##2C23831.0012.541.6812.54
#FFFFFF12.541.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003786
Deuteranopia (green-blind)
#003081
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2c2383;
/* rgb */ color: rgb(44, 35, 131);
/* oklch */ color: oklch(33.8% 0.153 278.6);
Tailwind
colors: {
  custom: {
    50: '#715fa8',
    500: '#2c2383',
    950: '#000000',
  },
}
SCSS
$custom: #2c2383;
$custom-light: #715fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2383",
  "rgb": {
    "r": 44,
    "g": 35,
    "b": 131
  },
  "hsl": {
    "h": 245.625,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.338,
    "c": 0.15292,
    "h": 278.6
  },
  "luminance": 0.03376
}

Semantic roles & 50–950 ramp

primary
#2C2383
secondary
#AAB44E
accent
#E147D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2C2383

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

Preview Lab → · Contrast checker → · Palette generator →

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