#2F2F45#2F2F45

#2F2F45 is a dark, muted blue. Relative luminance 0.031; OKLCH L 31.5% C 0.039 H 283.9°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#2F2F45
RGBrgb(47, 47, 69)
HSLhsl(240, 19%, 23%)
HSVhsv(240, 32%, 27%)
CMYKcmyk(31.9%, 31.9%, 0%, 72.9%)
CIE-LABlab(20.31, 5.99, -13.71)
CIE-LCHlch(20.31, 14.96, 293.60°)
OKLaboklab(31.53% 0.0094 -0.038)
OKLCHoklch(31.53% 0.039 283.9)
XYZxyz(3.2627, 3.0670, 6.0492)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2F45 #45452F
analogous
#2F3A45 #2F2F45 #3A2F45
triadic
#2F2F45 #452F2F #2F452F
tetradic
#2F2F45 #452F3A #45452F #2F453A
square
#2F2F45 #452F3A #45452F #2F453A
split-complementary
#2F2F45 #453A2F #3A452F
monochromatic
#0C0C12 #161621 #2F2F45 #484869 #61618E

Accessibility & contrast

On white

13.02
#2F2F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2F2F45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2F45
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2F45#FFFFFF#000000##FFFFFF
##2F2F451.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293246
Deuteranopia (green-blind)
#283044
Tritanopia (blue-blind)
#2A3337
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2f2f45;
/* rgb */ color: rgb(47, 47, 69);
/* oklch */ color: oklch(31.5% 0.039 283.9);
Tailwind
colors: {
  custom: {
    50: '#686778',
    500: '#2f2f45',
    950: '#000000',
  },
}
SCSS
$custom: #2f2f45;
$custom-light: #686778;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2f45",
  "rgb": {
    "r": 47,
    "g": 47,
    "b": 69
  },
  "hsl": {
    "h": 240,
    "s": 18.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31527,
    "c": 0.03911,
    "h": 283.9
  },
  "luminance": 0.03067
}

Semantic roles & 50–950 ramp

primary
#2F2F45
secondary
#76765A
accent
#BC6CBC
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060609
muted
#7A7A7B

Preview Lab

Preview with #2F2F45

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

Preview Lab → · Contrast checker → · Palette generator →

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