#2F2B4D#2F2B4D

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

Color values

HEX#2F2B4D
RGBrgb(47, 43, 77)
HSLhsl(247, 28%, 24%)
HSVhsv(247, 44%, 30%)
CMYKcmyk(39%, 44.2%, 0%, 69.8%)
CIE-LABlab(19.51, 11.30, -20.38)
CIE-LCHlch(19.51, 23.31, 299.01°)
OKLaboklab(31.05% 0.0183 -0.0572)
OKLCHoklch(31.05% 0.06 287.8)
XYZxyz(3.3754, 2.8678, 7.3954)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2B4D #494D2B
analogous
#2B384D #2F2B4D #402B4D
triadic
#2F2B4D #4D2F2B #2B4D2F
tetradic
#2F2B4D #4D2B38 #494D2B #2B4D40
square
#2F2B4D #4D2B38 #494D2B #2B4D40
split-complementary
#2F2B4D #4D402B #384D2B
monochromatic
#0C0B14 #171526 #2F2B4D #474174 #5F579C

Accessibility & contrast

On white

13.35
#2F2B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2F2B4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2B4D
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2B4D#FFFFFF#000000##FFFFFF
##2F2B4D1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20304E
Deuteranopia (green-blind)
#202E4C
Tritanopia (blue-blind)
#273138
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2f2b4d;
/* rgb */ color: rgb(47, 43, 77);
/* oklch */ color: oklch(31.1% 0.060 287.8);
Tailwind
colors: {
  custom: {
    50: '#69647f',
    500: '#2f2b4d',
    950: '#000000',
  },
}
SCSS
$custom: #2f2b4d;
$custom-light: #69647f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2b4d",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 77
  },
  "hsl": {
    "h": 247.059,
    "s": 28.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.31051,
    "c": 0.06006,
    "h": 287.8
  },
  "luminance": 0.02868
}

Semantic roles & 50–950 ramp

primary
#2F2B4D
secondary
#7A7F55
accent
#C563B9
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#06050A
muted
#7A797C

Preview Lab

Preview with #2F2B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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