#2F2D45#2F2D45

#2F2D45 is a dark, muted blue. Relative luminance 0.029; OKLCH L 31.0% C 0.043 H 287.4°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#2F2D45
RGBrgb(47, 45, 69)
HSLhsl(245, 21%, 22%)
HSVhsv(245, 35%, 27%)
CMYKcmyk(31.9%, 34.8%, 0%, 72.9%)
CIE-LABlab(19.68, 7.39, -14.68)
CIE-LCHlch(19.68, 16.44, 296.71°)
OKLaboklab(31.04% 0.0128 -0.0407)
OKLCHoklch(31.04% 0.043 287.4)
XYZxyz(3.1846, 2.9107, 6.0231)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D45 #43452D
analogous
#2D3745 #2F2D45 #3B2D45
triadic
#2F2D45 #452F2D #2D452F
tetradic
#2F2D45 #452D37 #43452D #2D453B
square
#2F2D45 #452D37 #43452D #2D453B
split-complementary
#2F2D45 #453B2D #37452D
monochromatic
#0D0C13 #161520 #2F2D45 #48456A #615D8F

Accessibility & contrast

On white

13.27
#2F2D45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2F2D45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2D45
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D45#FFFFFF#000000##FFFFFF
##2F2D451.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263046
Deuteranopia (green-blind)
#262F44
Tritanopia (blue-blind)
#2A3136
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2f2d45;
/* rgb */ color: rgb(47, 45, 69);
/* oklch */ color: oklch(31.0% 0.043 287.4);
Tailwind
colors: {
  custom: {
    50: '#686578',
    500: '#2f2d45',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d45;
$custom-light: #686578;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d45",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 69
  },
  "hsl": {
    "h": 245,
    "s": 21.053,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31043,
    "c": 0.04269,
    "h": 287.4
  },
  "luminance": 0.02911
}

Semantic roles & 50–950 ramp

primary
#2F2D45
secondary
#747658
accent
#BE6AB7
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060509
muted
#7A7A7B

Preview Lab

Preview with #2F2D45

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

Preview Lab → · Contrast checker → · Palette generator →

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