#2C2C4E#2C2C4E

#2C2C4E is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.1% C 0.060 H 282.3°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#2C2C4E
RGBrgb(44, 44, 78)
HSLhsl(240, 28%, 24%)
HSVhsv(240, 44%, 31%)
CMYKcmyk(43.6%, 43.6%, 0%, 69.4%)
CIE-LABlab(19.58, 9.97, -20.95)
CIE-LCHlch(19.58, 23.20, 295.43°)
OKLaboklab(31.06% 0.0129 -0.0589)
OKLCHoklch(31.06% 0.06 282.3)
XYZxyz(3.3141, 2.8868, 7.5888)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2C4E #4E4E2C
analogous
#2C3D4E #2C2C4E #3D2C4E
triadic
#2C2C4E #4E2C2C #2C4E2C
tetradic
#2C2C4E #4E2C3D #4E4E2C #2C4E3D
square
#2C2C4E #4E2C3D #4E4E2C #2C4E3D
split-complementary
#2C2C4E #4E3D2C #3D4E2C
monochromatic
#0B0B14 #161627 #2C2C4E #424275 #58589C

Accessibility & contrast

On white

13.31
#2C2C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2C2C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2C4E
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2C4E#FFFFFF#000000##FFFFFF
##2C2C4E1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20314F
Deuteranopia (green-blind)
#1F2E4D
Tritanopia (blue-blind)
#223339
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2c2c4e;
/* rgb */ color: rgb(44, 44, 78);
/* oklch */ color: oklch(31.1% 0.060 282.3);
Tailwind
colors: {
  custom: {
    50: '#676580',
    500: '#2c2c4e',
    950: '#000000',
  },
}
SCSS
$custom: #2c2c4e;
$custom-light: #676580;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2c4e",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 78
  },
  "hsl": {
    "h": 240,
    "s": 27.869,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31059,
    "c": 0.06033,
    "h": 282.3
  },
  "luminance": 0.02887
}

Semantic roles & 50–950 ramp

primary
#2C2C4E
secondary
#808056
accent
#C464C4
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06050A
muted
#7A7A7C

Preview Lab

Preview with #2C2C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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