#2F2D67#2F2D67

#2F2D67 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.3% C 0.099 H 281.2°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#2F2D67
RGBrgb(47, 45, 103)
HSLhsl(242, 39%, 29%)
HSVhsv(242, 56%, 40%)
CMYKcmyk(54.4%, 56.3%, 0%, 59.6%)
CIE-LABlab(21.80, 18.73, -33.96)
CIE-LCHlch(21.80, 38.78, 298.88°)
OKLaboklab(33.34% 0.0191 -0.0969)
OKLCHoklch(33.34% 0.099 281.2)
XYZxyz(4.5581, 3.4601, 13.2570)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D67 #65672D
analogous
#2D4867 #2F2D67 #4C2D67
triadic
#2F2D67 #672F2D #2D672F
tetradic
#2F2D67 #672D48 #65672D #2D674C
square
#2F2D67 #672D48 #65672D #2D674C
split-complementary
#2F2D67 #674C2D #48672D
monochromatic
#0A0915 #1C1A3C #2F2D67 #424092 #5B58B6

Accessibility & contrast

On white

12.41
#2F2D67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2D67
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D67#FFFFFF#000000##FFFFFF
##2F2D671.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2d67;
/* rgb */ color: rgb(47, 45, 103);
/* oklch */ color: oklch(33.3% 0.099 281.2);
Tailwind
colors: {
  custom: {
    50: '#6c6693',
    500: '#2f2d67',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d67;
$custom-light: #6c6693;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d67",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 103
  },
  "hsl": {
    "h": 242.069,
    "s": 39.189,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33335,
    "c": 0.09882,
    "h": 281.2
  },
  "luminance": 0.0346
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F2D67

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

Preview Lab → · Contrast checker → · Palette generator →

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