#2F2C68#2F2C68

#2F2C68 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.2% C 0.102 H 281.6°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#2F2C68
RGBrgb(47, 44, 104)
HSLhsl(243, 41%, 29%)
HSVhsv(243, 58%, 41%)
CMYKcmyk(54.8%, 57.7%, 0%, 59.2%)
CIE-LABlab(21.60, 19.77, -34.93)
CIE-LCHlch(21.60, 40.14, 299.51°)
OKLaboklab(33.21% 0.0204 -0.0998)
OKLCHoklch(33.21% 0.102 281.6)
XYZxyz(4.5709, 3.4049, 13.5104)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2C68 #65682C
analogous
#2C4768 #2F2C68 #4D2C68
triadic
#2F2C68 #682F2C #2C682F
tetradic
#2F2C68 #682C47 #65682C #2C684D
square
#2F2C68 #682C47 #65682C #2C684D
split-complementary
#2F2C68 #684D2C #47682C
monochromatic
#0A0916 #1C1A3D #2F2C68 #423E93 #5B57B8

Accessibility & contrast

On white

12.49
#2F2C68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2F2C68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2C68
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2C68#FFFFFF#000000##FFFFFF
##2F2C681.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08366A
Deuteranopia (green-blind)
#023267
Tritanopia (blue-blind)
#183A45
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2f2c68;
/* rgb */ color: rgb(47, 44, 104);
/* oklch */ color: oklch(33.2% 0.102 281.6);
Tailwind
colors: {
  custom: {
    50: '#6d6594',
    500: '#2f2c68',
    950: '#000000',
  },
}
SCSS
$custom: #2f2c68;
$custom-light: #6d6594;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2c68",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 104
  },
  "hsl": {
    "h": 243,
    "s": 40.541,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33208,
    "c": 0.10189,
    "h": 281.6
  },
  "luminance": 0.03405
}

Semantic roles & 50–950 ramp

primary
#2F2C68
secondary
#979A56
accent
#D057CA
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07050D
muted
#7A7A7E

Preview Lab

Preview with #2F2C68

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

Preview Lab → · Contrast checker → · Palette generator →

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