#2C2A63#2C2A63

#2C2A63 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.1% C 0.098 H 280.9°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#2C2A63
RGBrgb(44, 42, 99)
HSLhsl(242, 40%, 28%)
HSVhsv(242, 58%, 39%)
CMYKcmyk(55.6%, 57.6%, 0%, 61.2%)
CIE-LABlab(20.41, 18.68, -33.60)
CIE-LCHlch(20.41, 38.44, 299.07°)
OKLaboklab(32.14% 0.0186 -0.096)
OKLCHoklch(32.14% 0.098 280.9)
XYZxyz(4.1181, 3.0920, 12.1818)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2A63 #61632A
analogous
#2A4563 #2C2A63 #482A63
triadic
#2C2A63 #632C2A #2A632C
tetradic
#2C2A63 #632A45 #61632A #2A6348
square
#2C2A63 #632A45 #61632A #2A6348
split-complementary
#2C2A63 #63482A #45632A
monochromatic
#0A0915 #191838 #2C2A63 #3F3C8E #5552B6

Accessibility & contrast

On white

12.98
#2C2A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2C2A63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2A63
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2A63#FFFFFF#000000##FFFFFF
##2C2A631.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093365
Deuteranopia (green-blind)
#022F62
Tritanopia (blue-blind)
#153742
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2c2a63;
/* rgb */ color: rgb(44, 42, 99);
/* oklch */ color: oklch(32.1% 0.098 280.9);
Tailwind
colors: {
  custom: {
    50: '#6a6390',
    500: '#2c2a63',
    950: '#000000',
  },
}
SCSS
$custom: #2c2a63;
$custom-light: #6a6390;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2a63",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 99
  },
  "hsl": {
    "h": 242.105,
    "s": 40.426,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32136,
    "c": 0.09779,
    "h": 280.9
  },
  "luminance": 0.03092
}

Semantic roles & 50–950 ramp

primary
#2C2A63
secondary
#939553
accent
#D058CC
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #2C2A63

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

Preview Lab → · Contrast checker → · Palette generator →

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