#2C2E76#2C2E76

#2C2E76 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.5% C 0.121 H 276.8°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#2C2E76
RGBrgb(44, 46, 118)
HSLhsl(238, 46%, 32%)
HSVhsv(238, 63%, 46%)
CMYKcmyk(62.7%, 61%, 0%, 53.7%)
CIE-LABlab(22.99, 22.78, -41.70)
CIE-LCHlch(22.99, 47.52, 298.65°)
OKLaboklab(34.53% 0.0143 -0.1198)
OKLCHoklch(34.53% 0.121 276.8)
XYZxyz(5.2847, 3.7971, 17.5905)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2E76 #76742C
analogous
#2C5376 #2C2E76 #4F2C76
triadic
#2C2E76 #762C2E #2E762C
tetradic
#2C2E76 #762C53 #76742C #2C764F
square
#2C2E76 #762C53 #76742C #2C764F
split-complementary
#2C2E76 #764F2C #53762C
monochromatic
#0B0B1D #1B1D49 #2C2E76 #3D3FA3 #5B5DC2

Accessibility & contrast

On white

11.94
#2C2E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2C2E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2E76
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2E76#FFFFFF#000000##FFFFFF
##2C2E761.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A78
Deuteranopia (green-blind)
#003475
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2c2e76;
/* rgb */ color: rgb(44, 46, 118);
/* oklch */ color: oklch(34.5% 0.121 276.8);
Tailwind
colors: {
  custom: {
    50: '#6e669e',
    500: '#2c2e76',
    950: '#000000',
  },
}
SCSS
$custom: #2c2e76;
$custom-light: #6e669e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2e76",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 118
  },
  "hsl": {
    "h": 238.378,
    "s": 45.679,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34526,
    "c": 0.12068,
    "h": 276.8
  },
  "luminance": 0.03797
}

Semantic roles & 50–950 ramp

primary
#2C2E76
secondary
#A7A556
accent
#D252D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #2C2E76

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

Preview Lab → · Contrast checker → · Palette generator →

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