#2C2D64#2C2D64

#2C2D64 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.8% C 0.095 H 279.0°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#2C2D64
RGBrgb(44, 45, 100)
HSLhsl(239, 39%, 28%)
HSVhsv(239, 56%, 39%)
CMYKcmyk(56%, 55%, 0%, 60.8%)
CIE-LABlab(21.33, 16.94, -32.77)
CIE-LCHlch(21.33, 36.89, 297.34°)
OKLaboklab(32.85% 0.0149 -0.0936)
OKLCHoklch(32.85% 0.095 279)
XYZxyz(4.2766, 3.3321, 12.4719)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2D64 #64632C
analogous
#2C4964 #2C2D64 #472C64
triadic
#2C2D64 #642C2D #2D642C
tetradic
#2C2D64 #642C49 #64632C #2C6447
square
#2C2D64 #642C49 #64632C #2C6447
split-complementary
#2C2D64 #64472C #49642C
monochromatic
#090A15 #191A39 #2C2D64 #3F408E #5658B5

Accessibility & contrast

On white

12.60
#2C2D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2C2D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2D64
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2D64#FFFFFF#000000##FFFFFF
##2C2D641.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103566
Deuteranopia (green-blind)
#093163
Tritanopia (blue-blind)
#143944
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2c2d64;
/* rgb */ color: rgb(44, 45, 100);
/* oklch */ color: oklch(32.8% 0.095 279.0);
Tailwind
colors: {
  custom: {
    50: '#6a6590',
    500: '#2c2d64',
    950: '#000000',
  },
}
SCSS
$custom: #2c2d64;
$custom-light: #6a6590;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2d64",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 100
  },
  "hsl": {
    "h": 238.929,
    "s": 38.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32848,
    "c": 0.09474,
    "h": 279
  },
  "luminance": 0.03332
}

Semantic roles & 50–950 ramp

primary
#2C2D64
secondary
#969556
accent
#CD59CF
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07050C
muted
#7A7A7D

Preview Lab

Preview with #2C2D64

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

Preview Lab → · Contrast checker → · Palette generator →

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