#2F2D66#2F2D66

#2F2D66 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.3% C 0.097 H 281.3°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#2F2D66
RGBrgb(47, 45, 102)
HSLhsl(242, 39%, 29%)
HSVhsv(242, 56%, 40%)
CMYKcmyk(53.9%, 55.9%, 0%, 60%)
CIE-LABlab(21.73, 18.38, -33.42)
CIE-LCHlch(21.73, 38.14, 298.80°)
OKLaboklab(33.26% 0.019 -0.0954)
OKLCHoklch(33.26% 0.097 281.3)
XYZxyz(4.5082, 3.4402, 12.9943)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D66 #64662D
analogous
#2D4866 #2F2D66 #4C2D66
triadic
#2F2D66 #662F2D #2D662F
tetradic
#2F2D66 #662D48 #64662D #2D664C
square
#2F2D66 #662D48 #64662D #2D664C
split-complementary
#2F2D66 #664C2D #48662D
monochromatic
#0A0915 #1B1A3C #2F2D66 #434090 #5B58B5

Accessibility & contrast

On white

12.44
#2F2D66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2F2D66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2D66
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D66#FFFFFF#000000##FFFFFF
##2F2D661.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3668
Deuteranopia (green-blind)
#093265
Tritanopia (blue-blind)
#193A45
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2f2d66;
/* rgb */ color: rgb(47, 45, 102);
/* oklch */ color: oklch(33.3% 0.097 281.3);
Tailwind
colors: {
  custom: {
    50: '#6c6692',
    500: '#2f2d66',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d66;
$custom-light: #6c6692;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d66",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 102
  },
  "hsl": {
    "h": 242.105,
    "s": 38.776,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33258,
    "c": 0.09726,
    "h": 281.3
  },
  "luminance": 0.0344
}

Semantic roles & 50–950 ramp

primary
#2F2D66
secondary
#969857
accent
#CF59CB
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07050D
muted
#7A7A7E

Preview Lab

Preview with #2F2D66

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

Preview Lab → · Contrast checker → · Palette generator →

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