#2C2273#2C2273

#2C2273 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.133 H 281.5°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#2C2273
RGBrgb(44, 34, 115)
HSLhsl(247, 54%, 29%)
HSVhsv(247, 70%, 45%)
CMYKcmyk(61.7%, 70.4%, 0%, 54.9%)
CIE-LABlab(19.71, 29.66, -45.13)
CIE-LCHlch(19.71, 54.01, 303.32°)
OKLaboklab(32.05% 0.0264 -0.1299)
OKLCHoklch(32.05% 0.133 281.5)
XYZxyz(4.7043, 2.9170, 16.5315)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2273 #697322
analogous
#224173 #2C2273 #552273
triadic
#2C2273 #732C22 #22732C
tetradic
#2C2273 #732241 #697322 #227355
square
#2C2273 #732241 #697322 #227355
split-complementary
#2C2273 #735522 #417322
monochromatic
#090718 #1A1444 #2C2273 #3E30A2 #5747C9

Accessibility & contrast

On white

13.26
#2C2273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2C2273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2273
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2273#FFFFFF#000000##FFFFFF
##2C22731.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003275
Deuteranopia (green-blind)
#002D71
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2c2273;
/* rgb */ color: rgb(44, 34, 115);
/* oklch */ color: oklch(32.0% 0.133 281.5);
Tailwind
colors: {
  custom: {
    50: '#6e5e9c',
    500: '#2c2273',
    950: '#000000',
  },
}
SCSS
$custom: #2c2273;
$custom-light: #6e5e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2273",
  "rgb": {
    "r": 44,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 247.407,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32046,
    "c": 0.13259,
    "h": 281.5
  },
  "luminance": 0.02917
}

Semantic roles & 50–950 ramp

primary
#2C2273
secondary
#9BA64B
accent
#DE4ACB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2C2273

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

Preview Lab → · Contrast checker → · Palette generator →

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