#2F2D4E#2F2D4E

#2F2D4E is a dark, muted blue. Relative luminance 0.030; OKLCH L 31.6% C 0.058 H 285.3°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#2F2D4E
RGBrgb(47, 45, 78)
HSLhsl(244, 27%, 24%)
HSVhsv(244, 42%, 31%)
CMYKcmyk(39.7%, 42.3%, 0%, 69.4%)
CIE-LABlab(20.17, 10.22, -20.02)
CIE-LCHlch(20.17, 22.47, 297.04°)
OKLaboklab(31.57% 0.0154 -0.0561)
OKLCHoklch(31.57% 0.058 285.3)
XYZxyz(3.4854, 3.0311, 7.6077)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D4E #4C4E2D
analogous
#2D3C4E #2F2D4E #402D4E
triadic
#2F2D4E #4E2F2D #2D4E2F
tetradic
#2F2D4E #4E2D3C #4C4E2D #2D4E40
square
#2F2D4E #4E2D3C #4C4E2D #2D4E40
split-complementary
#2F2D4E #4E402D #3C4E2D
monochromatic
#0C0B13 #181727 #2F2D4E #464375 #5E5A9C

Accessibility & contrast

On white

13.07
#2F2D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2D4E
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D4E#FFFFFF#000000##FFFFFF
##2F2D4E1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22324F
Deuteranopia (green-blind)
#22304D
Tritanopia (blue-blind)
#273339
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2f2d4e;
/* rgb */ color: rgb(47, 45, 78);
/* oklch */ color: oklch(31.6% 0.058 285.3);
Tailwind
colors: {
  custom: {
    50: '#69657f',
    500: '#2f2d4e',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d4e;
$custom-light: #69657f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d4e",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 78
  },
  "hsl": {
    "h": 243.636,
    "s": 26.829,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31574,
    "c": 0.0582,
    "h": 285.3
  },
  "luminance": 0.03031
}

Semantic roles & 50–950 ramp

primary
#2F2D4E
secondary
#7D8057
accent
#C365BD
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06050A
muted
#7A7A7C

Preview Lab

Preview with #2F2D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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