#2F2F4C#2F2F4C

#2F2F4C is a dark, muted blue. Relative luminance 0.032; OKLCH L 31.9% C 0.051 H 283.1°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#2F2F4C
RGBrgb(47, 47, 76)
HSLhsl(240, 24%, 24%)
HSVhsv(240, 38%, 30%)
CMYKcmyk(38.2%, 38.2%, 0%, 70.2%)
CIE-LABlab(20.67, 8.17, -17.88)
CIE-LCHlch(20.67, 19.66, 294.57°)
OKLaboklab(31.92% 0.0116 -0.0499)
OKLCHoklch(31.92% 0.051 283.1)
XYZxyz(3.4930, 3.1591, 7.2618)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2F4C #4C4C2F
analogous
#2F3E4C #2F2F4C #3E2F4C
triadic
#2F2F4C #4C2F2F #2F4C2F
tetradic
#2F2F4C #4C2F3E #4C4C2F #2F4C3E
square
#2F2F4C #4C2F3E #4C4C2F #2F4C3E
split-complementary
#2F2F4C #4C3E2F #3E4C2F
monochromatic
#0C0C13 #181826 #2F2F4C #464672 #5E5E98

Accessibility & contrast

On white

12.87
#2F2F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2F2F4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2F4C
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2F4C#FFFFFF#000000##FFFFFF
##2F2F4C1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26334D
Deuteranopia (green-blind)
#25314B
Tritanopia (blue-blind)
#27343A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2f2f4c;
/* rgb */ color: rgb(47, 47, 76);
/* oklch */ color: oklch(31.9% 0.051 283.1);
Tailwind
colors: {
  custom: {
    50: '#69677e',
    500: '#2f2f4c',
    950: '#000000',
  },
}
SCSS
$custom: #2f2f4c;
$custom-light: #69677e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2f4c",
  "rgb": {
    "r": 47,
    "g": 47,
    "b": 76
  },
  "hsl": {
    "h": 240,
    "s": 23.577,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31923,
    "c": 0.05129,
    "h": 283.1
  },
  "luminance": 0.03159
}

Semantic roles & 50–950 ramp

primary
#2F2F4C
secondary
#7D7D5A
accent
#C068C0
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #2F2F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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