#2F2D68#2F2D68

#2F2D68 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.4% C 0.100 H 281.0°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#2F2D68
RGBrgb(47, 45, 104)
HSLhsl(242, 40%, 29%)
HSVhsv(242, 57%, 41%)
CMYKcmyk(54.8%, 56.7%, 0%, 59.2%)
CIE-LABlab(21.87, 19.08, -34.49)
CIE-LCHlch(21.87, 39.41, 298.95°)
OKLaboklab(33.41% 0.0192 -0.0985)
OKLCHoklch(33.41% 0.1 281)
XYZxyz(4.6086, 3.4803, 13.5229)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D68 #66682D
analogous
#2D4968 #2F2D68 #4D2D68
triadic
#2F2D68 #682F2D #2D682F
tetradic
#2F2D68 #682D49 #66682D #2D684D
square
#2F2D68 #682D49 #66682D #2D684D
split-complementary
#2F2D68 #684D2D #49682D
monochromatic
#0A0915 #1C1B3D #2F2D68 #423F93 #5C58B7

Accessibility & contrast

On white

12.38
#2F2D68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2F2D68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2D68
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D68#FFFFFF#000000##FFFFFF
##2F2D681.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C376A
Deuteranopia (green-blind)
#053267
Tritanopia (blue-blind)
#183A45
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2f2d68;
/* rgb */ color: rgb(47, 45, 104);
/* oklch */ color: oklch(33.4% 0.100 281.0);
Tailwind
colors: {
  custom: {
    50: '#6d6694',
    500: '#2f2d68',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d68;
$custom-light: #6d6694;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d68",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 104
  },
  "hsl": {
    "h": 242.034,
    "s": 39.597,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33414,
    "c": 0.10036,
    "h": 281
  },
  "luminance": 0.03481
}

Semantic roles & 50–950 ramp

primary
#2F2D68
secondary
#989A57
accent
#CF58CB
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07050D
muted
#7A7A7E

Preview Lab

Preview with #2F2D68

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

Preview Lab → · Contrast checker → · Palette generator →

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