#2F2D56#2F2D56

#2F2D56 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.1% C 0.072 H 283.8°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#2F2D56
RGBrgb(47, 45, 86)
HSLhsl(243, 31%, 26%)
HSVhsv(243, 48%, 34%)
CMYKcmyk(45.3%, 47.7%, 0%, 66.3%)
CIE-LABlab(20.65, 12.86, -24.62)
CIE-LCHlch(20.65, 27.77, 297.59°)
OKLaboklab(32.09% 0.0171 -0.0695)
OKLCHoklch(32.09% 0.072 283.8)
XYZxyz(3.7899, 3.1528, 9.2112)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D56 #54562D
analogous
#2D3F56 #2F2D56 #432D56
triadic
#2F2D56 #562F2D #2D562F
tetradic
#2F2D56 #562D3F #54562D #2D5643
square
#2F2D56 #562D3F #54562D #2D5643
split-complementary
#2F2D56 #56432D #3F562D
monochromatic
#0B0B14 #19182E #2F2D56 #45427E #5B57A6

Accessibility & contrast

On white

12.88
#2F2D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2D56
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D56#FFFFFF#000000##FFFFFF
##2F2D561.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3358
Deuteranopia (green-blind)
#1C3055
Tritanopia (blue-blind)
#23353D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2f2d56;
/* rgb */ color: rgb(47, 45, 86);
/* oklch */ color: oklch(32.1% 0.072 283.8);
Tailwind
colors: {
  custom: {
    50: '#6a6586',
    500: '#2f2d56',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d56;
$custom-light: #6a6586;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d56",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 86
  },
  "hsl": {
    "h": 242.927,
    "s": 31.298,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32094,
    "c": 0.07161,
    "h": 283.8
  },
  "luminance": 0.03153
}

Semantic roles & 50–950 ramp

primary
#2F2D56
secondary
#858857
accent
#C760C2
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06050B
muted
#7A7A7C

Preview Lab

Preview with #2F2D56

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

Preview Lab → · Contrast checker → · Palette generator →

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