#2C2D6A#2C2D6A

#2C2D6A is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.3% C 0.104 H 278.4°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#2C2D6A
RGBrgb(44, 45, 106)
HSLhsl(239, 41%, 29%)
HSVhsv(239, 58%, 42%)
CMYKcmyk(58.5%, 57.5%, 0%, 58.4%)
CIE-LABlab(21.77, 19.11, -35.96)
CIE-LCHlch(21.77, 40.72, 297.98°)
OKLaboklab(33.32% 0.0153 -0.1029)
OKLCHoklch(33.32% 0.104 278.4)
XYZxyz(4.5778, 3.4526, 14.0581)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2D6A #6A692C
analogous
#2C4C6A #2C2D6A #4A2C6A
triadic
#2C2D6A #6A2C2D #2D6A2C
tetradic
#2C2D6A #6A2C4C #6A692C #2C6A4A
square
#2C2D6A #6A2C4C #6A692C #2C6A4A
split-complementary
#2C2D6A #6A4A2C #4C6A2C
monochromatic
#090916 #1A1B3F #2C2D6A #3E3F95 #5759B9

Accessibility & contrast

On white

12.42
#2C2D6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2D6A
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2D6A#FFFFFF#000000##FFFFFF
##2C2D6A1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06376C
Deuteranopia (green-blind)
#003269
Tritanopia (blue-blind)
#0C3B46
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2c2d6a;
/* rgb */ color: rgb(44, 45, 106);
/* oklch */ color: oklch(33.3% 0.104 278.4);
Tailwind
colors: {
  custom: {
    50: '#6b6595',
    500: '#2c2d6a',
    950: '#000000',
  },
}
SCSS
$custom: #2c2d6a;
$custom-light: #6b6595;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2d6a",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 106
  },
  "hsl": {
    "h": 239.032,
    "s": 41.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33322,
    "c": 0.10406,
    "h": 278.4
  },
  "luminance": 0.03453
}

Semantic roles & 50–950 ramp

primary
#2C2D6A
secondary
#9C9B56
accent
#CF57D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050D
muted
#7A7A7E

Preview Lab

Preview with #2C2D6A

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

Preview Lab → · Contrast checker → · Palette generator →

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