#2A263E#2A263E

#2A263E is a dark, muted violet. Relative luminance 0.022; OKLCH L 28.5% C 0.044 H 291.0°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#2A263E
RGBrgb(42, 38, 62)
HSLhsl(250, 24%, 20%)
HSVhsv(250, 39%, 24%)
CMYKcmyk(32.3%, 38.7%, 0%, 75.7%)
CIE-LABlab(16.63, 8.38, -14.65)
CIE-LCHlch(16.63, 16.88, 299.77°)
OKLaboklab(28.46% 0.0156 -0.0407)
OKLCHoklch(28.46% 0.044 291)
XYZxyz(2.5172, 2.2262, 4.8536)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A263E #3A3E26
analogous
#262E3E #2A263E #36263E
triadic
#2A263E #3E2A26 #263E2A
tetradic
#2A263E #3E262E #3A3E26 #263E36
square
#2A263E #3E262E #3A3E26 #263E36
split-complementary
#2A263E #3E3626 #2E3E26
monochromatic
#0D0C13 #100F18 #2A263E #443D64 #5D558A

Accessibility & contrast

On white

14.53
#2A263E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A263E
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A263E#FFFFFF#000000##FFFFFF
##2A263E1.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2A3F
Deuteranopia (green-blind)
#20293D
Tritanopia (blue-blind)
#262A2F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2a263e;
/* rgb */ color: rgb(42, 38, 62);
/* oklch */ color: oklch(28.5% 0.044 291.0);
Tailwind
colors: {
  custom: {
    50: '#646073',
    500: '#2a263e',
    950: '#000000',
  },
}
SCSS
$custom: #2a263e;
$custom-light: #646073;
$custom-dark: #000000;
JSON
{
  "hex": "#2a263e",
  "rgb": {
    "r": 42,
    "g": 38,
    "b": 62
  },
  "hsl": {
    "h": 250,
    "s": 24,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28456,
    "c": 0.04363,
    "h": 291
  },
  "luminance": 0.02226
}

Semantic roles & 50–950 ramp

primary
#2A263E
secondary
#6B7050
accent
#C067B2
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#050408
muted
#7A797B

Preview Lab

Preview with #2A263E

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

Preview Lab → · Contrast checker → · Palette generator →

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