#2C2D66#2C2D66

#2C2D66 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.0% C 0.098 H 278.8°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#2C2D66
RGBrgb(44, 45, 102)
HSLhsl(239, 40%, 29%)
HSVhsv(239, 57%, 40%)
CMYKcmyk(56.9%, 55.9%, 0%, 60%)
CIE-LABlab(21.47, 17.66, -33.84)
CIE-LCHlch(21.47, 38.17, 297.56°)
OKLaboklab(33% 0.015 -0.0967)
OKLCHoklch(33% 0.098 278.8)
XYZxyz(4.3746, 3.3713, 12.9880)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2D66 #66652C
analogous
#2C4A66 #2C2D66 #482C66
triadic
#2C2D66 #662C2D #2D662C
tetradic
#2C2D66 #662C4A #66652C #2C6648
square
#2C2D66 #662C4A #66652C #2C6648
split-complementary
#2C2D66 #66482C #4A662C
monochromatic
#090915 #1A1A3B #2C2D66 #3E4091 #5658B6

Accessibility & contrast

On white

12.54
#2C2D66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2D66
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2D66#FFFFFF#000000##FFFFFF
##2C2D661.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3668
Deuteranopia (green-blind)
#053165
Tritanopia (blue-blind)
#123A44
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2c2d66;
/* rgb */ color: rgb(44, 45, 102);
/* oklch */ color: oklch(33.0% 0.098 278.8);
Tailwind
colors: {
  custom: {
    50: '#6b6592',
    500: '#2c2d66',
    950: '#000000',
  },
}
SCSS
$custom: #2c2d66;
$custom-light: #6b6592;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2d66",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 102
  },
  "hsl": {
    "h": 238.966,
    "s": 39.726,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33004,
    "c": 0.09787,
    "h": 278.8
  },
  "luminance": 0.03372
}

Semantic roles & 50–950 ramp

primary
#2C2D66
secondary
#989756
accent
#CE58D0
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07050D
muted
#7A7A7E

Preview Lab

Preview with #2C2D66

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

Preview Lab → · Contrast checker → · Palette generator →

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