#2C263F#2C263F

#2C263F is a dark, muted violet. Relative luminance 0.023; OKLCH L 28.7% C 0.046 H 294.4°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#2C263F
RGBrgb(44, 38, 63)
HSLhsl(254, 25%, 20%)
HSVhsv(254, 40%, 25%)
CMYKcmyk(30.2%, 39.7%, 0%, 75.3%)
CIE-LABlab(16.90, 9.42, -14.92)
CIE-LCHlch(16.90, 17.64, 302.26°)
OKLaboklab(28.73% 0.0188 -0.0414)
OKLCHoklch(28.73% 0.046 294.4)
XYZxyz(2.6288, 2.2805, 5.0034)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C263F #393F26
analogous
#262D3F #2C263F #39263F
triadic
#2C263F #3F2C26 #263F2C
tetradic
#2C263F #3F262D #393F26 #263F39
square
#2C263F #3F262D #393F26 #263F39
split-complementary
#2C263F #3F3926 #2D3F26
monochromatic
#0D0C13 #110F19 #2C263F #473D65 #61548B

Accessibility & contrast

On white

14.42
#2C263F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#2C263F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C263F
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C263F#FFFFFF#000000##FFFFFF
##2C263F1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2A40
Deuteranopia (green-blind)
#20293E
Tritanopia (blue-blind)
#282A2F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2c263f;
/* rgb */ color: rgb(44, 38, 63);
/* oklch */ color: oklch(28.7% 0.046 294.4);
Tailwind
colors: {
  custom: {
    50: '#666074',
    500: '#2c263f',
    950: '#000000',
  },
}
SCSS
$custom: #2c263f;
$custom-light: #666074;
$custom-dark: #000000;
JSON
{
  "hex": "#2c263f",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 63
  },
  "hsl": {
    "h": 254.4,
    "s": 24.752,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28726,
    "c": 0.04551,
    "h": 294.4
  },
  "luminance": 0.02281
}

Semantic roles & 50–950 ramp

primary
#2C263F
secondary
#697150
accent
#C167AB
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060408
muted
#7A797B

Preview Lab

Preview with #2C263F

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

Preview Lab → · Contrast checker → · Palette generator →

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