#2C263E#2C263E

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

Color values

HEX#2C263E
RGBrgb(44, 38, 62)
HSLhsl(255, 24%, 20%)
HSVhsv(255, 39%, 24%)
CMYKcmyk(29%, 38.7%, 0%, 75.7%)
CIE-LABlab(16.84, 9.11, -14.31)
CIE-LCHlch(16.84, 16.96, 302.50°)
OKLaboklab(28.67% 0.0185 -0.0397)
OKLCHoklch(28.67% 0.044 295)
XYZxyz(2.6011, 2.2695, 4.8575)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C263E #383E26
analogous
#262C3E #2C263E #38263E
triadic
#2C263E #3E2C26 #263E2C
tetradic
#2C263E #3E262C #383E26 #263E38
square
#2C263E #3E262C #383E26 #263E38
split-complementary
#2C263E #3E3826 #2C3E26
monochromatic
#0D0C13 #110F18 #2C263E #473D64 #62558A

Accessibility & contrast

On white

14.44
#2C263E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#2C263E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C263E
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C263E#FFFFFF#000000##FFFFFF
##2C263E1.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202A3F
Deuteranopia (green-blind)
#21293D
Tritanopia (blue-blind)
#282A2F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2c263e;
/* rgb */ color: rgb(44, 38, 62);
/* oklch */ color: oklch(28.7% 0.044 295.0);
Tailwind
colors: {
  custom: {
    50: '#656073',
    500: '#2c263e',
    950: '#000000',
  },
}
SCSS
$custom: #2c263e;
$custom-light: #656073;
$custom-dark: #000000;
JSON
{
  "hex": "#2c263e",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 62
  },
  "hsl": {
    "h": 255,
    "s": 24,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28668,
    "c": 0.04379,
    "h": 295
  },
  "luminance": 0.02269
}

Semantic roles & 50–950 ramp

primary
#2C263E
secondary
#687050
accent
#C067AA
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060408
muted
#7A797B

Preview Lab

Preview with #2C263E

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

Preview Lab → · Contrast checker → · Palette generator →

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