#2C2E66#2C2E66

#2C2E66 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.2% C 0.096 H 278.2°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#2C2E66
RGBrgb(44, 46, 102)
HSLhsl(238, 40%, 29%)
HSVhsv(238, 57%, 40%)
CMYKcmyk(56.9%, 54.9%, 0%, 60%)
CIE-LABlab(21.76, 16.96, -33.39)
CIE-LCHlch(21.76, 37.45, 296.94°)
OKLaboklab(33.22% 0.0138 -0.0953)
OKLCHoklch(33.22% 0.096 278.2)
XYZxyz(4.4132, 3.4485, 13.0009)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2E66 #66642C
analogous
#2C4B66 #2C2E66 #472C66
triadic
#2C2E66 #662C2E #2E662C
tetradic
#2C2E66 #662C4B #66642C #2C6647
square
#2C2E66 #662C4B #66642C #2C6647
split-complementary
#2C2E66 #66472C #4B662C
monochromatic
#090A15 #1A1B3B #2C2E66 #3E4191 #565AB6

Accessibility & contrast

On white

12.43
#2C2E66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2E66
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2E66#FFFFFF#000000##FFFFFF
##2C2E661.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103768
Deuteranopia (green-blind)
#083265
Tritanopia (blue-blind)
#113B45
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2c2e66;
/* rgb */ color: rgb(44, 46, 102);
/* oklch */ color: oklch(33.2% 0.096 278.2);
Tailwind
colors: {
  custom: {
    50: '#6a6692',
    500: '#2c2e66',
    950: '#000000',
  },
}
SCSS
$custom: #2c2e66;
$custom-light: #6a6692;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2e66",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 102
  },
  "hsl": {
    "h": 237.931,
    "s": 39.726,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33217,
    "c": 0.09634,
    "h": 278.2
  },
  "luminance": 0.03449
}

Semantic roles & 50–950 ramp

primary
#2C2E66
secondary
#989656
accent
#CB58D0
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2C2E66

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

Preview Lab → · Contrast checker → · Palette generator →

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