#2C2394#2C2394

#2C2394 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.175 H 276.3°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#2C2394
RGBrgb(44, 35, 148)
HSLhsl(245, 62%, 36%)
HSVhsv(245, 76%, 58%)
CMYKcmyk(70.3%, 76.4%, 0%, 42%)
CIE-LABlab(23.25, 40.22, -60.09)
CIE-LCHlch(23.25, 72.31, 303.79°)
OKLaboklab(35.58% 0.0192 -0.1737)
OKLCHoklch(35.58% 0.175 276.3)
XYZxyz(6.9833, 3.8750, 28.3912)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2394 #8B9423
analogous
#235294 #2C2394 #642394
triadic
#2C2394 #942C23 #23942C
tetradic
#2C2394 #942352 #8B9423 #239464
square
#2C2394 #942352 #8B9423 #239464
split-complementary
#2C2394 #946423 #529423
monochromatic
#0F0C31 #1D1763 #2C2394 #3B2FC5 #645AD8

Accessibility & contrast

On white

11.83
#2C2394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2C2394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2394
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2394#FFFFFF#000000##FFFFFF
##2C23941.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003292
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2c2394;
/* rgb */ color: rgb(44, 35, 148);
/* oklch */ color: oklch(35.6% 0.175 276.3);
Tailwind
colors: {
  custom: {
    50: '#7560b5',
    500: '#2c2394',
    950: '#000000',
  },
}
SCSS
$custom: #2c2394;
$custom-light: #7560b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2394",
  "rgb": {
    "r": 44,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 244.779,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35583,
    "c": 0.17475,
    "h": 276.3
  },
  "luminance": 0.03876
}

Semantic roles & 50–950 ramp

primary
#2C2394
secondary
#B4BC57
accent
#E543D8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2C2394

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

Preview Lab → · Contrast checker → · Palette generator →

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