#2C2894#2C2894

#2C2894 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.170 H 275.5°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#2C2894
RGBrgb(44, 40, 148)
HSLhsl(242, 57%, 37%)
HSVhsv(242, 73%, 58%)
CMYKcmyk(70.3%, 73%, 0%, 42%)
CIE-LABlab(24.29, 37.31, -58.38)
CIE-LCHlch(24.29, 69.29, 302.58°)
OKLaboklab(36.32% 0.0162 -0.1687)
OKLCHoklch(36.32% 0.17 275.5)
XYZxyz(7.1410, 4.1905, 28.4438)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2894 #909428
analogous
#285A94 #2C2894 #622894
triadic
#2C2894 #942C28 #28942C
tetradic
#2C2894 #94285A #909428 #289462
square
#2C2894 #94285A #909428 #289462
split-complementary
#2C2894 #946228 #5A9428
monochromatic
#0F0E34 #1E1B64 #2C2894 #3A35C4 #6662D5

Accessibility & contrast

On white

11.42
#2C2894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2C2894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2894
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2894#FFFFFF#000000##FFFFFF
##2C28941.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c2894;
/* rgb */ color: rgb(44, 40, 148);
/* oklch */ color: oklch(36.3% 0.170 275.5);
Tailwind
colors: {
  custom: {
    50: '#7563b4',
    500: '#2c2894',
    950: '#000000',
  },
}
SCSS
$custom: #2c2894;
$custom-light: #7563b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2894",
  "rgb": {
    "r": 44,
    "g": 40,
    "b": 148
  },
  "hsl": {
    "h": 242.222,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.3632,
    "c": 0.16951,
    "h": 275.5
  },
  "luminance": 0.04191
}

Semantic roles & 50–950 ramp

primary
#2C2894
secondary
#B7BA5E
accent
#E147DB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #2C2894

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

Preview Lab → · Contrast checker → · Palette generator →

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