#2C2D62#2C2D62

#2C2D62 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.7% C 0.092 H 279.2°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#2C2D62
RGBrgb(44, 45, 98)
HSLhsl(239, 38%, 28%)
HSVhsv(239, 55%, 38%)
CMYKcmyk(55.1%, 54.1%, 0%, 61.6%)
CIE-LABlab(21.18, 16.23, -31.69)
CIE-LCHlch(21.18, 35.61, 297.11°)
OKLaboklab(32.69% 0.0147 -0.0904)
OKLCHoklch(32.69% 0.092 279.2)
XYZxyz(4.1810, 3.2938, 11.9684)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2D62 #62612C
analogous
#2C4862 #2C2D62 #462C62
triadic
#2C2D62 #622C2D #2D622C
tetradic
#2C2D62 #622C48 #62612C #2C6246
square
#2C2D62 #622C48 #62612C #2C6246
split-complementary
#2C2D62 #62462C #48622C
monochromatic
#090A15 #191A38 #2C2D62 #3F408C #5657B3

Accessibility & contrast

On white

12.66
#2C2D62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2C2D62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2D62
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2D62#FFFFFF#000000##FFFFFF
##2C2D621.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133564
Deuteranopia (green-blind)
#0D3161
Tritanopia (blue-blind)
#163943
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2c2d62;
/* rgb */ color: rgb(44, 45, 98);
/* oklch */ color: oklch(32.7% 0.092 279.2);
Tailwind
colors: {
  custom: {
    50: '#6a658f',
    500: '#2c2d62',
    950: '#000000',
  },
}
SCSS
$custom: #2c2d62;
$custom-light: #6a658f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2d62",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 98
  },
  "hsl": {
    "h": 238.889,
    "s": 38.028,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32694,
    "c": 0.09158,
    "h": 279.2
  },
  "luminance": 0.03294
}

Semantic roles & 50–950 ramp

primary
#2C2D62
secondary
#949356
accent
#CC5ACE
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07050C
muted
#7A7A7D

Preview Lab

Preview with #2C2D62

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

Preview Lab → · Contrast checker → · Palette generator →

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