#2C2994#2C2994

#2C2994 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.168 H 275.3°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#2C2994
RGBrgb(44, 41, 148)
HSLhsl(242, 57%, 37%)
HSVhsv(242, 72%, 58%)
CMYKcmyk(70.3%, 72.3%, 0%, 42%)
CIE-LABlab(24.51, 36.71, -58.02)
CIE-LCHlch(24.51, 68.66, 302.32°)
OKLaboklab(36.48% 0.0156 -0.1677)
OKLCHoklch(36.48% 0.168 275.3)
XYZxyz(7.1752, 4.2588, 28.4551)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2994 #919429
analogous
#295C94 #2C2994 #622994
triadic
#2C2994 #942C29 #29942C
tetradic
#2C2994 #94295C #919429 #299462
square
#2C2994 #94295C #919429 #299462
split-complementary
#2C2994 #946229 #5C9429
monochromatic
#100E34 #1E1C64 #2C2994 #3A36C4 #6763D4

Accessibility & contrast

On white

11.34
#2C2994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2C2994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2994
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2994#FFFFFF#000000##FFFFFF
##2C29941.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003592
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c2994;
/* rgb */ color: rgb(44, 41, 148);
/* oklch */ color: oklch(36.5% 0.168 275.3);
Tailwind
colors: {
  custom: {
    50: '#7564b4',
    500: '#2c2994',
    950: '#000000',
  },
}
SCSS
$custom: #2c2994;
$custom-light: #7564b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2994",
  "rgb": {
    "r": 44,
    "g": 41,
    "b": 148
  },
  "hsl": {
    "h": 241.682,
    "s": 56.614,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36475,
    "c": 0.16841,
    "h": 275.3
  },
  "luminance": 0.04259
}

Semantic roles & 50–950 ramp

primary
#2C2994
secondary
#B7BA5F
accent
#E048DC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2C2994

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

Preview Lab → · Contrast checker → · Palette generator →

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