#2C2694#2C2694

#2C2694 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.172 H 275.8°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#2C2694
RGBrgb(44, 38, 148)
HSLhsl(243, 59%, 36%)
HSVhsv(243, 74%, 58%)
CMYKcmyk(70.3%, 74.3%, 0%, 42%)
CIE-LABlab(23.87, 38.50, -59.08)
CIE-LCHlch(23.87, 70.52, 303.09°)
OKLaboklab(36.02% 0.0175 -0.1708)
OKLCHoklch(36.02% 0.172 275.8)
XYZxyz(7.0754, 4.0592, 28.4219)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2694 #8E9426
analogous
#265794 #2C2694 #632694
triadic
#2C2694 #942C26 #26942C
tetradic
#2C2694 #942657 #8E9426 #269463
square
#2C2694 #942657 #8E9426 #269463
split-complementary
#2C2694 #946326 #579426
monochromatic
#0F0D33 #1E1963 #2C2694 #3A33C5 #655FD6

Accessibility & contrast

On white

11.59
#2C2694 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2C2694 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2694
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2694#FFFFFF#000000##FFFFFF
##2C26941.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E97
Deuteranopia (green-blind)
#003492
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c2694;
/* rgb */ color: rgb(44, 38, 148);
/* oklch */ color: oklch(36.0% 0.172 275.8);
Tailwind
colors: {
  custom: {
    50: '#7562b5',
    500: '#2c2694',
    950: '#000000',
  },
}
SCSS
$custom: #2c2694;
$custom-light: #7562b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2694",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 148
  },
  "hsl": {
    "h": 243.273,
    "s": 59.14,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36016,
    "c": 0.17165,
    "h": 275.8
  },
  "luminance": 0.0406
}

Semantic roles & 50–950 ramp

primary
#2C2694
secondary
#B6BB5B
accent
#E245DA
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2C2694

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

Preview Lab → · Contrast checker → · Palette generator →

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