#2F263E#2F263E

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

Color values

HEX#2F263E
RGBrgb(47, 38, 62)
HSLhsl(263, 24%, 20%)
HSVhsv(263, 39%, 24%)
CMYKcmyk(24.2%, 38.7%, 0%, 75.7%)
CIE-LABlab(17.17, 10.23, -13.77)
CIE-LCHlch(17.17, 17.16, 306.61°)
OKLaboklab(29% 0.0228 -0.0381)
OKLCHoklch(29% 0.044 300.9)
XYZxyz(2.7347, 2.3384, 4.8638)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F263E #353E26
analogous
#26293E #2F263E #3B263E
triadic
#2F263E #3E2F26 #263E2F
tetradic
#2F263E #3E2629 #353E26 #263E3B
square
#2F263E #3E2629 #353E26 #263E3B
split-complementary
#2F263E #3E3B26 #293E26
monochromatic
#0E0C13 #120F18 #2F263E #4C3D64 #69558A

Accessibility & contrast

On white

14.31
#2F263E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#2F263E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F263E
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F263E#FFFFFF#000000##FFFFFF
##2F263E1.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212A3F
Deuteranopia (green-blind)
#222A3D
Tritanopia (blue-blind)
#2C2A2F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2f263e;
/* rgb */ color: rgb(47, 38, 62);
/* oklch */ color: oklch(29.0% 0.044 300.9);
Tailwind
colors: {
  custom: {
    50: '#686073',
    500: '#2f263e',
    950: '#000000',
  },
}
SCSS
$custom: #2f263e;
$custom-light: #686073;
$custom-dark: #000000;
JSON
{
  "hex": "#2f263e",
  "rgb": {
    "r": 47,
    "g": 38,
    "b": 62
  },
  "hsl": {
    "h": 262.5,
    "s": 24,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28998,
    "c": 0.04439,
    "h": 300.9
  },
  "luminance": 0.02338
}

Semantic roles & 50–950 ramp

primary
#2F263E
secondary
#647050
accent
#C0679F
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060408
muted
#7A797B

Preview Lab

Preview with #2F263E

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

Preview Lab → · Contrast checker → · Palette generator →

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