#2F2F4E#2F2F4E

#2F2F4E is a dark, muted blue. Relative luminance 0.032; OKLCH L 32.0% C 0.055 H 282.9°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#2F2F4E
RGBrgb(47, 47, 78)
HSLhsl(240, 25%, 25%)
HSVhsv(240, 40%, 31%)
CMYKcmyk(39.7%, 39.7%, 0%, 69.4%)
CIE-LABlab(20.78, 8.82, -19.06)
CIE-LCHlch(20.78, 21.00, 294.83°)
OKLaboklab(32.04% 0.0122 -0.0533)
OKLCHoklch(32.04% 0.055 282.9)
XYZxyz(3.5636, 3.1873, 7.6337)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2F4E #4E4E2F
analogous
#2F3F4E #2F2F4E #3F2F4E
triadic
#2F2F4E #4E2F2F #2F4E2F
tetradic
#2F2F4E #4E2F3F #4E4E2F #2F4E3F
square
#2F2F4E #4E2F3F #4E4E2F #2F4E3F
split-complementary
#2F2F4E #4E3F2F #3F4E2F
monochromatic
#0C0C13 #181828 #2F2F4E #464674 #5D5D9A

Accessibility & contrast

On white

12.83
#2F2F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2F2F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2F4E
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2F4E#FFFFFF#000000##FFFFFF
##2F2F4E1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25334F
Deuteranopia (green-blind)
#24314D
Tritanopia (blue-blind)
#27353A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2f2f4e;
/* rgb */ color: rgb(47, 47, 78);
/* oklch */ color: oklch(32.0% 0.055 282.9);
Tailwind
colors: {
  custom: {
    50: '#69677f',
    500: '#2f2f4e',
    950: '#000000',
  },
}
SCSS
$custom: #2f2f4e;
$custom-light: #69677f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2f4e",
  "rgb": {
    "r": 47,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 240,
    "s": 24.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32042,
    "c": 0.05472,
    "h": 282.9
  },
  "luminance": 0.03187
}

Semantic roles & 50–950 ramp

primary
#2F2F4E
secondary
#7F7F5A
accent
#C167C1
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #2F2F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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