#2C2290#2C2290

#2C2290 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.171 H 277.0°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#2C2290
RGBrgb(44, 34, 144)
HSLhsl(245, 62%, 35%)
HSVhsv(245, 76%, 56%)
CMYKcmyk(69.4%, 76.4%, 0%, 43.5%)
CIE-LABlab(22.63, 39.46, -58.65)
CIE-LCHlch(22.63, 70.69, 303.93°)
OKLaboklab(35.01% 0.0207 -0.1695)
OKLCHoklch(35.01% 0.171 277)
XYZxyz(6.6431, 3.6926, 26.7428)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2290 #869022
analogous
#224F90 #2C2290 #632290
triadic
#2C2290 #902C22 #22902C
tetradic
#2C2290 #90224F #869022 #229063
square
#2C2290 #90224F #869022 #229063
split-complementary
#2C2290 #906322 #4F9022
monochromatic
#0E0B2D #1D165E #2C2290 #3B2EC2 #6155D7

Accessibility & contrast

On white

12.08
#2C2290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2C2290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2290
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2290#FFFFFF#000000##FFFFFF
##2C22901.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c2290;
/* rgb */ color: rgb(44, 34, 144);
/* oklch */ color: oklch(35.0% 0.171 277.0);
Tailwind
colors: {
  custom: {
    50: '#745fb2',
    500: '#2c2290',
    950: '#000000',
  },
}
SCSS
$custom: #2c2290;
$custom-light: #745fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2290",
  "rgb": {
    "r": 44,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 245.455,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35013,
    "c": 0.17073,
    "h": 277
  },
  "luminance": 0.03693
}

Semantic roles & 50–950 ramp

primary
#2C2290
secondary
#B1BB53
accent
#E543D6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2C2290

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

Preview Lab → · Contrast checker → · Palette generator →

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