#2F2B4E#2F2B4E

#2F2B4E is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.1% C 0.062 H 287.5°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#2F2B4E
RGBrgb(47, 43, 78)
HSLhsl(247, 29%, 24%)
HSVhsv(247, 45%, 31%)
CMYKcmyk(39.7%, 44.9%, 0%, 69.4%)
CIE-LABlab(19.57, 11.62, -20.97)
CIE-LCHlch(19.57, 23.97, 299.00°)
OKLaboklab(31.12% 0.0186 -0.0589)
OKLCHoklch(31.12% 0.062 287.5)
XYZxyz(3.4109, 2.8821, 7.5828)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2B4E #4A4E2B
analogous
#2B384E #2F2B4E #402B4E
triadic
#2F2B4E #4E2F2B #2B4E2F
tetradic
#2F2B4E #4E2B38 #4A4E2B #2B4E40
square
#2F2B4E #4E2B38 #4A4E2B #2B4E40
split-complementary
#2F2B4E #4E402B #384E2B
monochromatic
#0C0B14 #171527 #2F2B4E #474175 #5F569D

Accessibility & contrast

On white

13.32
#2F2B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2B4E
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2B4E#FFFFFF#000000##FFFFFF
##2F2B4E1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20304F
Deuteranopia (green-blind)
#1F2E4D
Tritanopia (blue-blind)
#273238
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2f2b4e;
/* rgb */ color: rgb(47, 43, 78);
/* oklch */ color: oklch(31.1% 0.062 287.5);
Tailwind
colors: {
  custom: {
    50: '#696480',
    500: '#2f2b4e',
    950: '#000000',
  },
}
SCSS
$custom: #2f2b4e;
$custom-light: #696480;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2b4e",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 246.857,
    "s": 28.926,
    "l": 23.725
  },
  "oklch": {
    "l": 0.31115,
    "c": 0.06174,
    "h": 287.5
  },
  "luminance": 0.02882
}

Semantic roles & 50–950 ramp

primary
#2F2B4E
secondary
#7B8055
accent
#C563BA
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#06050A
muted
#7A797C

Preview Lab

Preview with #2F2B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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