#2C2890#2C2890

#2C2890 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.164 H 275.9°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#2C2890
RGBrgb(44, 40, 144)
HSLhsl(242, 57%, 36%)
HSVhsv(242, 72%, 56%)
CMYKcmyk(69.4%, 72.2%, 0%, 43.5%)
CIE-LABlab(23.89, 35.94, -56.57)
CIE-LCHlch(23.89, 67.02, 302.43°)
OKLaboklab(35.91% 0.0169 -0.1635)
OKLCHoklch(35.91% 0.164 275.9)
XYZxyz(6.8299, 4.0661, 26.8050)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2890 #8C9028
analogous
#285890 #2C2890 #602890
triadic
#2C2890 #902C28 #28902C
tetradic
#2C2890 #902858 #8C9028 #289060
square
#2C2890 #902858 #8C9028 #289060
split-complementary
#2C2890 #906028 #589028
monochromatic
#0F0D30 #1D1B60 #2C2890 #3B35C0 #6460D3

Accessibility & contrast

On white

11.58
#2C2890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2890
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2890#FFFFFF#000000##FFFFFF
##2C28901.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c2890;
/* rgb */ color: rgb(44, 40, 144);
/* oklch */ color: oklch(35.9% 0.164 275.9);
Tailwind
colors: {
  custom: {
    50: '#7463b2',
    500: '#2c2890',
    950: '#000000',
  },
}
SCSS
$custom: #2c2890;
$custom-light: #7463b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2890",
  "rgb": {
    "r": 44,
    "g": 40,
    "b": 144
  },
  "hsl": {
    "h": 242.308,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.3591,
    "c": 0.16432,
    "h": 275.9
  },
  "luminance": 0.04067
}

Semantic roles & 50–950 ramp

primary
#2C2890
secondary
#B5B85C
accent
#E048DA
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2C2890

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

Preview Lab → · Contrast checker → · Palette generator →

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