#2C2490#2C2490

#2C2490 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.3% C 0.169 H 276.6°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#2C2490
RGBrgb(44, 36, 144)
HSLhsl(244, 60%, 35%)
HSVhsv(244, 75%, 56%)
CMYKcmyk(69.4%, 75%, 0%, 43.5%)
CIE-LABlab(23.03, 38.32, -57.98)
CIE-LCHlch(23.03, 69.50, 303.46°)
OKLaboklab(35.3% 0.0195 -0.1675)
OKLCHoklch(35.3% 0.169 276.6)
XYZxyz(6.7020, 3.8102, 26.7624)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2490 #889024
analogous
#245290 #2C2490 #622490
triadic
#2C2490 #902C24 #24902C
tetradic
#2C2490 #902452 #889024 #249062
square
#2C2490 #902452 #889024 #249062
split-complementary
#2C2490 #906224 #529024
monochromatic
#0E0C2E #1D185F #2C2490 #3B30C1 #6259D5

Accessibility & contrast

On white

11.92
#2C2490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2C2490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2490
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2490#FFFFFF#000000##FFFFFF
##2C24901.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2c2490;
/* rgb */ color: rgb(44, 36, 144);
/* oklch */ color: oklch(35.3% 0.169 276.6);
Tailwind
colors: {
  custom: {
    50: '#7460b2',
    500: '#2c2490',
    950: '#000000',
  },
}
SCSS
$custom: #2c2490;
$custom-light: #7460b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2490",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 144
  },
  "hsl": {
    "h": 244.444,
    "s": 60,
    "l": 35.294
  },
  "oklch": {
    "l": 0.353,
    "c": 0.16866,
    "h": 276.6
  },
  "luminance": 0.03811
}

Semantic roles & 50–950 ramp

primary
#2C2490
secondary
#B3BA56
accent
#E345D7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2C2490

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

Preview Lab → · Contrast checker → · Palette generator →

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