#2C2D88#2C2D88

#2C2D88 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.148 H 275.6°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#2C2D88
RGBrgb(44, 45, 136)
HSLhsl(239, 51%, 35%)
HSVhsv(239, 68%, 53%)
CMYKcmyk(67.6%, 66.9%, 0%, 46.7%)
CIE-LABlab(24.29, 29.97, -50.94)
CIE-LCHlch(24.29, 59.11, 300.47°)
OKLaboklab(35.96% 0.0143 -0.147)
OKLCHoklch(35.96% 0.148 275.6)
XYZxyz(6.4196, 4.1893, 23.7581)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2D88 #88872C
analogous
#2C5B88 #2C2D88 #592C88
triadic
#2C2D88 #882C2D #2D882C
tetradic
#2C2D88 #882C5B #88872C #2C8859
square
#2C2D88 #882C5B #88872C #2C8859
split-complementary
#2C2D88 #88592C #5B882C
monochromatic
#0E0E2C #1D1E5A #2C2D88 #3B3CB6 #6263CC

Accessibility & contrast

On white

11.43
#2C2D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2C2D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2D88
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2D88#FFFFFF#000000##FFFFFF
##2C2D881.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.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: #2c2d88;
/* rgb */ color: rgb(44, 45, 136);
/* oklch */ color: oklch(36.0% 0.148 275.6);
Tailwind
colors: {
  custom: {
    50: '#7266ac',
    500: '#2c2d88',
    950: '#000000',
  },
}
SCSS
$custom: #2c2d88;
$custom-light: #7266ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2d88",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 136
  },
  "hsl": {
    "h": 239.348,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35964,
    "c": 0.14766,
    "h": 275.6
  },
  "luminance": 0.0419
}

Semantic roles & 50–950 ramp

primary
#2C2D88
secondary
#B3B25D
accent
#D94DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2C2D88

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

Preview Lab → · Contrast checker → · Palette generator →

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