#2C2F4E#2C2F4E

#2C2F4E is a dark, muted blue. Relative luminance 0.031; OKLCH L 31.8% C 0.055 H 278.5°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#2C2F4E
RGBrgb(44, 47, 78)
HSLhsl(235, 28%, 24%)
HSVhsv(235, 44%, 31%)
CMYKcmyk(43.6%, 39.7%, 0%, 69.4%)
CIE-LABlab(20.51, 7.85, -19.49)
CIE-LCHlch(20.51, 21.02, 291.94°)
OKLaboklab(31.77% 0.0082 -0.0547)
OKLCHoklch(31.77% 0.055 278.5)
XYZxyz(3.4300, 3.1184, 7.6274)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2F4E #4E4B2C
analogous
#2C404E #2C2F4E #3A2C4E
triadic
#2C2F4E #4E2C2F #2F4E2C
tetradic
#2C2F4E #4E2C40 #4E4B2C #2C4E3A
square
#2C2F4E #4E2C40 #4E4B2C #2C4E3A
split-complementary
#2C2F4E #4E3A2C #404E2C
monochromatic
#0B0C14 #161727 #2C2F4E #424775 #585E9C

Accessibility & contrast

On white

12.93
#2C2F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2C2F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2F4E
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2F4E#FFFFFF#000000##FFFFFF
##2C2F4E1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25334F
Deuteranopia (green-blind)
#22304D
Tritanopia (blue-blind)
#22353A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2c2f4e;
/* rgb */ color: rgb(44, 47, 78);
/* oklch */ color: oklch(31.8% 0.055 278.5);
Tailwind
colors: {
  custom: {
    50: '#67677f',
    500: '#2c2f4e',
    950: '#000000',
  },
}
SCSS
$custom: #2c2f4e;
$custom-light: #67677f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2f4e",
  "rgb": {
    "r": 44,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 234.706,
    "s": 27.869,
    "l": 23.922
  },
  "oklch": {
    "l": 0.3177,
    "c": 0.05529,
    "h": 278.5
  },
  "luminance": 0.03119
}

Semantic roles & 50–950 ramp

primary
#2C2F4E
secondary
#807C56
accent
#BC64C4
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #2C2F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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