#2F2E4E#2F2E4E

#2F2E4E is a dark, muted blue. Relative luminance 0.031; OKLCH L 31.8% C 0.056 H 284.1°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#2F2E4E
RGBrgb(47, 46, 78)
HSLhsl(242, 26%, 24%)
HSVhsv(242, 41%, 31%)
CMYKcmyk(39.7%, 41%, 0%, 69.4%)
CIE-LABlab(20.47, 9.52, -19.54)
CIE-LCHlch(20.47, 21.73, 295.97°)
OKLaboklab(31.81% 0.0138 -0.0547)
OKLCHoklch(31.81% 0.056 284.1)
XYZxyz(3.5240, 3.1083, 7.6205)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E4E #4D4E2E
analogous
#2E3D4E #2F2E4E #3F2E4E
triadic
#2F2E4E #4E2F2E #2E4E2F
tetradic
#2F2E4E #4E2E3D #4D4E2E #2E4E3F
square
#2F2E4E #4E2E3D #4D4E2E #2E4E3F
split-complementary
#2F2E4E #4E3F2E #3D4E2E
monochromatic
#0C0B13 #181728 #2F2E4E #464574 #5D5B9B

Accessibility & contrast

On white

12.95
#2F2E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2F2E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2E4E
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E4E#FFFFFF#000000##FFFFFF
##2F2E4E1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24324F
Deuteranopia (green-blind)
#23304D
Tritanopia (blue-blind)
#27343A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2f2e4e;
/* rgb */ color: rgb(47, 46, 78);
/* oklch */ color: oklch(31.8% 0.056 284.1);
Tailwind
colors: {
  custom: {
    50: '#69667f',
    500: '#2f2e4e',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e4e;
$custom-light: #69667f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e4e",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 78
  },
  "hsl": {
    "h": 241.875,
    "s": 25.806,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31807,
    "c": 0.05645,
    "h": 284.1
  },
  "luminance": 0.03108
}

Semantic roles & 50–950 ramp

primary
#2F2E4E
secondary
#7E7F58
accent
#C266BF
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #2F2E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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