#2C2090#2C2090

#2C2090 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.7% C 0.173 H 277.3°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#2C2090
RGBrgb(44, 32, 144)
HSLhsl(246, 64%, 35%)
HSVhsv(246, 78%, 56%)
CMYKcmyk(69.4%, 77.8%, 0%, 43.5%)
CIE-LABlab(22.24, 40.57, -59.30)
CIE-LCHlch(22.24, 71.85, 304.38°)
OKLaboklab(34.74% 0.0218 -0.1713)
OKLCHoklch(34.74% 0.173 277.3)
XYZxyz(6.5876, 3.5815, 26.7243)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2090 #849020
analogous
#204C90 #2C2090 #642090
triadic
#2C2090 #902C20 #20902C
tetradic
#2C2090 #90204C #849020 #209064
square
#2C2090 #90204C #849020 #209064
split-complementary
#2C2090 #906420 #4C9020
monochromatic
#0D0A2C #1D155E #2C2090 #3B2BC2 #6052D9

Accessibility & contrast

On white

12.23
#2C2090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2C2090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2090
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2090#FFFFFF#000000##FFFFFF
##2C20901.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#00308E
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2c2090;
/* rgb */ color: rgb(44, 32, 144);
/* oklch */ color: oklch(34.7% 0.173 277.3);
Tailwind
colors: {
  custom: {
    50: '#755eb2',
    500: '#2c2090',
    950: '#000000',
  },
}
SCSS
$custom: #2c2090;
$custom-light: #755eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2090",
  "rgb": {
    "r": 44,
    "g": 32,
    "b": 144
  },
  "hsl": {
    "h": 246.429,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34737,
    "c": 0.17272,
    "h": 277.3
  },
  "luminance": 0.03582
}

Semantic roles & 50–950 ramp

primary
#2C2090
secondary
#B0BC50
accent
#E741D5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #2C2090

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

Preview Lab → · Contrast checker → · Palette generator →

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