#2C2D77#2C2D77

#2C2D77 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.124 H 277.1°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#2C2D77
RGBrgb(44, 45, 119)
HSLhsl(239, 46%, 32%)
HSVhsv(239, 63%, 47%)
CMYKcmyk(63%, 62.2%, 0%, 53.3%)
CIE-LABlab(22.81, 23.83, -42.64)
CIE-LCHlch(22.81, 48.84, 299.19°)
OKLaboklab(34.42% 0.0154 -0.1226)
OKLCHoklch(34.42% 0.124 277.1)
XYZxyz(5.3058, 3.7438, 17.8922)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2D77 #77762C
analogous
#2C5377 #2C2D77 #512C77
triadic
#2C2D77 #772C2D #2D772C
tetradic
#2C2D77 #772C53 #77762C #2C7751
square
#2C2D77 #772C53 #77762C #2C7751
split-complementary
#2C2D77 #77512C #53772C
monochromatic
#0B0B1E #1B1C4A #2C2D77 #3D3EA4 #5B5CC2

Accessibility & contrast

On white

12.01
#2C2D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2C2D77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2D77
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2D77#FFFFFF#000000##FFFFFF
##2C2D771.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A79
Deuteranopia (green-blind)
#003376
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2c2d77;
/* rgb */ color: rgb(44, 45, 119);
/* oklch */ color: oklch(34.4% 0.124 277.1);
Tailwind
colors: {
  custom: {
    50: '#6e669f',
    500: '#2c2d77',
    950: '#000000',
  },
}
SCSS
$custom: #2c2d77;
$custom-light: #6e669f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2d77",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 119
  },
  "hsl": {
    "h": 239.2,
    "s": 46.012,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34416,
    "c": 0.12354,
    "h": 277.1
  },
  "luminance": 0.03744
}

Semantic roles & 50–950 ramp

primary
#2C2D77
secondary
#A8A756
accent
#D452D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #2C2D77

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

Preview Lab → · Contrast checker → · Palette generator →

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