#2F263C#2F263C

#2F263C is a dark, muted violet. Relative luminance 0.023; OKLCH L 28.9% C 0.041 H 302.7°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#2F263C
RGBrgb(47, 38, 60)
HSLhsl(265, 22%, 19%)
HSVhsv(265, 37%, 24%)
CMYKcmyk(21.7%, 36.7%, 0%, 76.5%)
CIE-LABlab(17.07, 9.66, -12.54)
CIE-LCHlch(17.07, 15.83, 307.61°)
OKLaboklab(28.89% 0.0222 -0.0346)
OKLCHoklch(28.89% 0.041 302.7)
XYZxyz(2.6808, 2.3168, 4.5800)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F263C #333C26
analogous
#26283C #2F263C #3A263C
triadic
#2F263C #3C2F26 #263C2F
tetradic
#2F263C #3C2628 #333C26 #263C3A
square
#2F263C #3C2628 #333C26 #263C3A
split-complementary
#2F263C #3C3A26 #283C26
monochromatic
#0F0C13 #120E17 #2F263C #4C3E61 #6A5587

Accessibility & contrast

On white

14.35
#2F263C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F263C
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F263C#FFFFFF#000000##FFFFFF
##2F263C1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212A3D
Deuteranopia (green-blind)
#232A3B
Tritanopia (blue-blind)
#2D292E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2f263c;
/* rgb */ color: rgb(47, 38, 60);
/* oklch */ color: oklch(28.9% 0.041 302.7);
Tailwind
colors: {
  custom: {
    50: '#686071',
    500: '#2f263c',
    950: '#000000',
  },
}
SCSS
$custom: #2f263c;
$custom-light: #686071;
$custom-dark: #000000;
JSON
{
  "hex": "#2f263c",
  "rgb": {
    "r": 47,
    "g": 38,
    "b": 60
  },
  "hsl": {
    "h": 264.545,
    "s": 22.449,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28886,
    "c": 0.04107,
    "h": 302.7
  },
  "luminance": 0.02317
}

Semantic roles & 50–950 ramp

primary
#2F263C
secondary
#626E50
accent
#BF699C
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060407
muted
#7A797A

Preview Lab

Preview with #2F263C

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

Preview Lab → · Contrast checker → · Palette generator →

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