#2F2F68#2F2F68

#2F2F68 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.8% C 0.097 H 279.9°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#2F2F68
RGBrgb(47, 47, 104)
HSLhsl(240, 38%, 30%)
HSVhsv(240, 55%, 41%)
CMYKcmyk(54.8%, 54.8%, 0%, 59.2%)
CIE-LABlab(22.43, 17.70, -33.59)
CIE-LCHlch(22.43, 37.96, 297.78°)
OKLaboklab(33.83% 0.0167 -0.0958)
OKLCHoklch(33.83% 0.097 279.9)
XYZxyz(4.6867, 3.6366, 13.5490)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2F68 #68682F
analogous
#2F4C68 #2F2F68 #4C2F68
triadic
#2F2F68 #682F2F #2F682F
tetradic
#2F2F68 #682F4C #68682F #2F684C
square
#2F2F68 #682F4C #68682F #2F684C
split-complementary
#2F2F68 #684C2F #4C682F
monochromatic
#0A0A15 #1C1C3E #2F2F68 #424292 #5C5CB5

Accessibility & contrast

On white

12.16
#2F2F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2F2F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2F68
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2F68#FFFFFF#000000##FFFFFF
##2F2F681.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12386A
Deuteranopia (green-blind)
#0B3367
Tritanopia (blue-blind)
#173C46
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2f2f68;
/* rgb */ color: rgb(47, 47, 104);
/* oklch */ color: oklch(33.8% 0.097 279.9);
Tailwind
colors: {
  custom: {
    50: '#6c6793',
    500: '#2f2f68',
    950: '#000000',
  },
}
SCSS
$custom: #2f2f68;
$custom-light: #6c6793;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2f68",
  "rgb": {
    "r": 47,
    "g": 47,
    "b": 104
  },
  "hsl": {
    "h": 240,
    "s": 37.748,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33832,
    "c": 0.09729,
    "h": 279.9
  },
  "luminance": 0.03637
}

Semantic roles & 50–950 ramp

primary
#2F2F68
secondary
#999959
accent
#CE5ACE
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2F2F68

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

Preview Lab → · Contrast checker → · Palette generator →

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