#2C2C6E#2C2C6E

#2C2C6E is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.4% C 0.112 H 278.5°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#2C2C6E
RGBrgb(44, 44, 110)
HSLhsl(240, 43%, 30%)
HSVhsv(240, 60%, 43%)
CMYKcmyk(60%, 60%, 0%, 56.9%)
CIE-LABlab(21.81, 21.25, -38.49)
CIE-LCHlch(21.81, 43.96, 298.90°)
OKLaboklab(33.45% 0.0165 -0.1104)
OKLCHoklch(33.45% 0.112 278.5)
XYZxyz(4.7530, 3.4623, 15.1667)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2C6E #6E6E2C
analogous
#2C4D6E #2C2C6E #4D2C6E
triadic
#2C2C6E #6E2C2C #2C6E2C
tetradic
#2C2C6E #6E2C4D #6E6E2C #2C6E4D
square
#2C2C6E #6E2C4D #6E6E2C #2C6E4D
split-complementary
#2C2C6E #6E4D2C #4D6E2C
monochromatic
#090917 #1B1B42 #2C2C6E #3D3D9A #5858BC

Accessibility & contrast

On white

12.41
#2C2C6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2C2C6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2C6E
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2C6E#FFFFFF#000000##FFFFFF
##2C2C6E1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003770
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#063C48
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2c2c6e;
/* rgb */ color: rgb(44, 44, 110);
/* oklch */ color: oklch(33.4% 0.112 278.5);
Tailwind
colors: {
  custom: {
    50: '#6c6598',
    500: '#2c2c6e',
    950: '#000000',
  },
}
SCSS
$custom: #2c2c6e;
$custom-light: #6c6598;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2c6e",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 110
  },
  "hsl": {
    "h": 240,
    "s": 42.857,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33447,
    "c": 0.11162,
    "h": 278.5
  },
  "luminance": 0.03463
}

Semantic roles & 50–950 ramp

primary
#2C2C6E
secondary
#A0A056
accent
#D355D3
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #2C2C6E

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

Preview Lab → · Contrast checker → · Palette generator →

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