#2C2A88#2C2A88

#2C2A88 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.151 H 276.3°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#2C2A88
RGBrgb(44, 42, 136)
HSLhsl(241, 53%, 35%)
HSVhsv(241, 69%, 53%)
CMYKcmyk(67.6%, 69.1%, 0%, 46.7%)
CIE-LABlab(23.57, 31.90, -52.13)
CIE-LCHlch(23.57, 61.11, 301.47°)
OKLaboklab(35.44% 0.0167 -0.1504)
OKLCHoklch(35.44% 0.151 276.3)
XYZxyz(6.3092, 3.9684, 23.7213)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2A88 #86882A
analogous
#2A5788 #2C2A88 #5B2A88
triadic
#2C2A88 #882C2A #2A882C
tetradic
#2C2A88 #882A57 #86882A #2A885B
square
#2C2A88 #882A57 #86882A #2A885B
split-complementary
#2C2A88 #885B2A #57882A
monochromatic
#0E0D2A #1D1C59 #2C2A88 #3B38B7 #615FCE

Accessibility & contrast

On white

11.71
#2C2A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2C2A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2A88
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2A88#FFFFFF#000000##FFFFFF
##2C2A881.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8B
Deuteranopia (green-blind)
#003486
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c2a88;
/* rgb */ color: rgb(44, 42, 136);
/* oklch */ color: oklch(35.4% 0.151 276.3);
Tailwind
colors: {
  custom: {
    50: '#7264ac',
    500: '#2c2a88',
    950: '#000000',
  },
}
SCSS
$custom: #2c2a88;
$custom-light: #7264ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2a88",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 136
  },
  "hsl": {
    "h": 241.277,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35441,
    "c": 0.15135,
    "h": 276.3
  },
  "luminance": 0.03969
}

Semantic roles & 50–950 ramp

primary
#2C2A88
secondary
#B1B35B
accent
#DC4CD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2C2A88

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

Preview Lab → · Contrast checker → · Palette generator →

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