#2F2C4E#2F2C4E

#2F2C4E is a dark, muted blue. Relative luminance 0.030; OKLCH L 31.3% C 0.060 H 286.4°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#2F2C4E
RGBrgb(47, 44, 78)
HSLhsl(245, 28%, 24%)
HSVhsv(245, 44%, 31%)
CMYKcmyk(39.7%, 43.6%, 0%, 69.4%)
CIE-LABlab(19.87, 10.92, -20.49)
CIE-LCHlch(19.87, 23.22, 298.05°)
OKLaboklab(31.34% 0.017 -0.0575)
OKLCHoklch(31.34% 0.06 286.4)
XYZxyz(3.4477, 2.9557, 7.5951)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2C4E #4B4E2C
analogous
#2C3A4E #2F2C4E #402C4E
triadic
#2F2C4E #4E2F2C #2C4E2F
tetradic
#2F2C4E #4E2C3A #4B4E2C #2C4E40
square
#2F2C4E #4E2C3A #4B4E2C #2C4E40
split-complementary
#2F2C4E #4E402C #3A4E2C
monochromatic
#0C0B14 #171627 #2F2C4E #474275 #5E589C

Accessibility & contrast

On white

13.20
#2F2C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2F2C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2C4E
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2C4E#FFFFFF#000000##FFFFFF
##2F2C4E1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21314F
Deuteranopia (green-blind)
#202F4D
Tritanopia (blue-blind)
#273239
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2f2c4e;
/* rgb */ color: rgb(47, 44, 78);
/* oklch */ color: oklch(31.3% 0.060 286.4);
Tailwind
colors: {
  custom: {
    50: '#696580',
    500: '#2f2c4e',
    950: '#000000',
  },
}
SCSS
$custom: #2f2c4e;
$custom-light: #696580;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2c4e",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 78
  },
  "hsl": {
    "h": 245.294,
    "s": 27.869,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31343,
    "c": 0.05997,
    "h": 286.4
  },
  "luminance": 0.02956
}

Semantic roles & 50–950 ramp

primary
#2F2C4E
secondary
#7C8056
accent
#C464BC
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06050A
muted
#7A7A7C

Preview Lab

Preview with #2F2C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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