#2C2C88#2C2C88

#2C2C88 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.149 H 275.8°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#2C2C88
RGBrgb(44, 44, 136)
HSLhsl(240, 51%, 35%)
HSVhsv(240, 68%, 53%)
CMYKcmyk(67.6%, 67.6%, 0%, 46.7%)
CIE-LABlab(24.04, 30.62, -51.34)
CIE-LCHlch(24.04, 59.78, 300.81°)
OKLaboklab(35.79% 0.0151 -0.1481)
OKLCHoklch(35.79% 0.149 275.8)
XYZxyz(6.3819, 4.1139, 23.7455)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2C88 #88882C
analogous
#2C5A88 #2C2C88 #5A2C88
triadic
#2C2C88 #882C2C #2C882C
tetradic
#2C2C88 #882C5A #88882C #2C885A
square
#2C2C88 #882C5A #88882C #2C885A
split-complementary
#2C2C88 #885A2C #5A882C
monochromatic
#0E0E2C #1D1D5A #2C2C88 #3B3BB6 #6262CC

Accessibility & contrast

On white

11.52
#2C2C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2C2C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2C88
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2C88#FFFFFF#000000##FFFFFF
##2C2C881.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8B
Deuteranopia (green-blind)
#003586
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c2c88;
/* rgb */ color: rgb(44, 44, 136);
/* oklch */ color: oklch(35.8% 0.149 275.8);
Tailwind
colors: {
  custom: {
    50: '#7265ac',
    500: '#2c2c88',
    950: '#000000',
  },
}
SCSS
$custom: #2c2c88;
$custom-light: #7265ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2c88",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 136
  },
  "hsl": {
    "h": 240,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35787,
    "c": 0.14891,
    "h": 275.8
  },
  "luminance": 0.04114
}

Semantic roles & 50–950 ramp

primary
#2C2C88
secondary
#B3B35D
accent
#DB4DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2C2C88

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

Preview Lab → · Contrast checker → · Palette generator →

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