#2C2E86#2C2E86

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

Color values

HEX#2C2E86
RGBrgb(44, 46, 134)
HSLhsl(239, 51%, 35%)
HSVhsv(239, 67%, 53%)
CMYKcmyk(67.2%, 65.7%, 0%, 47.5%)
CIE-LABlab(24.35, 28.59, -49.59)
CIE-LCHlch(24.35, 57.24, 299.97°)
OKLaboklab(35.96% 0.0136 -0.143)
OKLCHoklch(35.96% 0.144 275.4)
XYZxyz(6.3174, 4.2102, 23.0294)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2E86 #86842C
analogous
#2C5B86 #2C2E86 #572C86
triadic
#2C2E86 #862C2E #2E862C
tetradic
#2C2E86 #862C5B #86842C #2C8657
square
#2C2E86 #862C5B #86842C #2C8657
split-complementary
#2C2E86 #86572C #5B862C
monochromatic
#0E0E2A #1D1E58 #2C2E86 #3B3EB4 #6164CB

Accessibility & contrast

On white

11.40
#2C2E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2E86
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2E86#FFFFFF#000000##FFFFFF
##2C2E861.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#003684
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c2e86;
/* rgb */ color: rgb(44, 46, 134);
/* oklch */ color: oklch(36.0% 0.144 275.4);
Tailwind
colors: {
  custom: {
    50: '#7167aa',
    500: '#2c2e86',
    950: '#000000',
  },
}
SCSS
$custom: #2c2e86;
$custom-light: #7167aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2e86",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 238.667,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35957,
    "c": 0.14362,
    "h": 275.4
  },
  "luminance": 0.04211
}

Semantic roles & 50–950 ramp

primary
#2C2E86
secondary
#B1B05C
accent
#D74EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2C2E86

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

Preview Lab → · Contrast checker → · Palette generator →

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