#2C2E88#2C2E88

#2C2E88 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.146 H 275.3°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#2C2E88
RGBrgb(44, 46, 136)
HSLhsl(239, 51%, 35%)
HSVhsv(239, 68%, 53%)
CMYKcmyk(67.6%, 66.2%, 0%, 46.7%)
CIE-LABlab(24.53, 29.32, -50.54)
CIE-LCHlch(24.53, 58.43, 300.12°)
OKLaboklab(36.14% 0.0135 -0.1458)
OKLCHoklch(36.14% 0.146 275.3)
XYZxyz(6.4582, 4.2665, 23.7710)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2E88 #88862C
analogous
#2C5C88 #2C2E88 #582C88
triadic
#2C2E88 #882C2E #2E882C
tetradic
#2C2E88 #882C5C #88862C #2C8858
square
#2C2E88 #882C5C #88862C #2C8858
split-complementary
#2C2E88 #88582C #5C882C
monochromatic
#0E0F2C #1D1E5A #2C2E88 #3B3EB6 #6264CC

Accessibility & contrast

On white

11.33
#2C2E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2C2E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2E88
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2E88#FFFFFF#000000##FFFFFF
##2C2E881.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#003686
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c2e88;
/* rgb */ color: rgb(44, 46, 136);
/* oklch */ color: oklch(36.1% 0.146 275.3);
Tailwind
colors: {
  custom: {
    50: '#7167ac',
    500: '#2c2e88',
    950: '#000000',
  },
}
SCSS
$custom: #2c2e88;
$custom-light: #7167ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2e88",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 136
  },
  "hsl": {
    "h": 238.696,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36144,
    "c": 0.1464,
    "h": 275.3
  },
  "luminance": 0.04267
}

Semantic roles & 50–950 ramp

primary
#2C2E88
secondary
#B3B15D
accent
#D84DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2C2E88

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

Preview Lab → · Contrast checker → · Palette generator →

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