#2C2390#2C2390

#2C2390 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.170 H 276.8°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#2C2390
RGBrgb(44, 35, 144)
HSLhsl(245, 61%, 35%)
HSVhsv(245, 76%, 56%)
CMYKcmyk(69.4%, 75.7%, 0%, 43.5%)
CIE-LABlab(22.83, 38.89, -58.32)
CIE-LCHlch(22.83, 70.10, 303.70°)
OKLaboklab(35.15% 0.0201 -0.1685)
OKLCHoklch(35.15% 0.17 276.8)
XYZxyz(6.6721, 3.7506, 26.7525)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2390 #879023
analogous
#235190 #2C2390 #622390
triadic
#2C2390 #902C23 #23902C
tetradic
#2C2390 #902351 #879023 #239062
square
#2C2390 #902351 #879023 #239062
split-complementary
#2C2390 #906223 #519023
monochromatic
#0E0B2E #1D175F #2C2390 #3B2FC1 #6257D6

Accessibility & contrast

On white

12.00
#2C2390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2C2390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2390
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2390#FFFFFF#000000##FFFFFF
##2C23901.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c2390;
/* rgb */ color: rgb(44, 35, 144);
/* oklch */ color: oklch(35.2% 0.170 276.8);
Tailwind
colors: {
  custom: {
    50: '#7460b2',
    500: '#2c2390',
    950: '#000000',
  },
}
SCSS
$custom: #2c2390;
$custom-light: #7460b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2390",
  "rgb": {
    "r": 44,
    "g": 35,
    "b": 144
  },
  "hsl": {
    "h": 244.954,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35155,
    "c": 0.1697,
    "h": 276.8
  },
  "luminance": 0.03751
}

Semantic roles & 50–950 ramp

primary
#2C2390
secondary
#B2BA54
accent
#E444D7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2C2390

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

Preview Lab → · Contrast checker → · Palette generator →

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