#2F2A4E#2F2A4E

#2F2A4E is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.9% C 0.064 H 288.5°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#2F2A4E
RGBrgb(47, 42, 78)
HSLhsl(248, 30%, 24%)
HSVhsv(248, 46%, 31%)
CMYKcmyk(39.7%, 46.2%, 0%, 69.4%)
CIE-LABlab(19.27, 12.33, -21.44)
CIE-LCHlch(19.27, 24.73, 299.90°)
OKLaboklab(30.89% 0.0201 -0.0603)
OKLCHoklch(30.89% 0.064 288.5)
XYZxyz(3.3750, 2.8102, 7.5709)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2A4E #494E2A
analogous
#2A374E #2F2A4E #412A4E
triadic
#2F2A4E #4E2F2A #2A4E2F
tetradic
#2F2A4E #4E2A37 #494E2A #2A4E41
square
#2F2A4E #4E2A37 #494E2A #2A4E41
split-complementary
#2F2A4E #4E412A #374E2A
monochromatic
#0C0B14 #171526 #2F2A4E #473F76 #5F559E

Accessibility & contrast

On white

13.44
#2F2A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#2F2A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2A4E
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2A4E#FFFFFF#000000##FFFFFF
##2F2A4E1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E304F
Deuteranopia (green-blind)
#1E2E4D
Tritanopia (blue-blind)
#273138
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2f2a4e;
/* rgb */ color: rgb(47, 42, 78);
/* oklch */ color: oklch(30.9% 0.064 288.5);
Tailwind
colors: {
  custom: {
    50: '#696380',
    500: '#2f2a4e',
    950: '#000000',
  },
}
SCSS
$custom: #2f2a4e;
$custom-light: #696380;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2a4e",
  "rgb": {
    "r": 47,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 248.333,
    "s": 30,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30888,
    "c": 0.06353,
    "h": 288.5
  },
  "luminance": 0.0281
}

Semantic roles & 50–950 ramp

primary
#2F2A4E
secondary
#7A8054
accent
#C662B8
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#06050A
muted
#7A797C

Preview Lab

Preview with #2F2A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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