#2C2990#2C2990

#2C2990 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.163 H 275.7°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#2C2990
RGBrgb(44, 41, 144)
HSLhsl(242, 56%, 36%)
HSVhsv(242, 72%, 56%)
CMYKcmyk(69.4%, 71.5%, 0%, 43.5%)
CIE-LABlab(24.11, 35.33, -56.21)
CIE-LCHlch(24.11, 66.39, 302.15°)
OKLaboklab(36.07% 0.0163 -0.1624)
OKLCHoklch(36.07% 0.163 275.7)
XYZxyz(6.8640, 4.1343, 26.8164)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2990 #8D9029
analogous
#295A90 #2C2990 #602990
triadic
#2C2990 #902C29 #29902C
tetradic
#2C2990 #90295A #8D9029 #299060
square
#2C2990 #90295A #8D9029 #299060
split-complementary
#2C2990 #906029 #5A9029
monochromatic
#0F0E31 #1D1B60 #2C2990 #3B37C0 #6561D2

Accessibility & contrast

On white

11.49
#2C2990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2C2990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2990
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2990#FFFFFF#000000##FFFFFF
##2C29901.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c2990;
/* rgb */ color: rgb(44, 41, 144);
/* oklch */ color: oklch(36.1% 0.163 275.7);
Tailwind
colors: {
  custom: {
    50: '#7464b2',
    500: '#2c2990',
    950: '#000000',
  },
}
SCSS
$custom: #2c2990;
$custom-light: #7464b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2990",
  "rgb": {
    "r": 44,
    "g": 41,
    "b": 144
  },
  "hsl": {
    "h": 241.748,
    "s": 55.676,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36069,
    "c": 0.16319,
    "h": 275.7
  },
  "luminance": 0.04135
}

Semantic roles & 50–950 ramp

primary
#2C2990
secondary
#B5B85D
accent
#DF49DB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2C2990

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

Preview Lab → · Contrast checker → · Palette generator →

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