#2F2B68#2F2B68

#2F2B68 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 33.0% C 0.103 H 282.1°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#2F2B68
RGBrgb(47, 43, 104)
HSLhsl(244, 41%, 29%)
HSVhsv(244, 59%, 41%)
CMYKcmyk(54.8%, 58.7%, 0%, 59.2%)
CIE-LABlab(21.32, 20.46, -35.37)
CIE-LCHlch(21.32, 40.86, 300.04°)
OKLaboklab(33.01% 0.0216 -0.1011)
OKLCHoklch(33.01% 0.103 282.1)
XYZxyz(4.5341, 3.3313, 13.4981)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2B68 #64682B
analogous
#2B4668 #2F2B68 #4E2B68
triadic
#2F2B68 #682F2B #2B682F
tetradic
#2F2B68 #682B46 #64682B #2B684E
square
#2F2B68 #682B46 #64682B #2B684E
split-complementary
#2F2B68 #684E2B #46682B
monochromatic
#0A0916 #1B193D #2F2B68 #433D93 #5B55B9

Accessibility & contrast

On white

12.60
#2F2B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2F2B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2B68
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2B68#FFFFFF#000000##FFFFFF
##2F2B681.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05356A
Deuteranopia (green-blind)
#003167
Tritanopia (blue-blind)
#183945
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2f2b68;
/* rgb */ color: rgb(47, 43, 104);
/* oklch */ color: oklch(33.0% 0.103 282.1);
Tailwind
colors: {
  custom: {
    50: '#6d6494',
    500: '#2f2b68',
    950: '#000000',
  },
}
SCSS
$custom: #2f2b68;
$custom-light: #6d6494;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2b68",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 104
  },
  "hsl": {
    "h": 243.934,
    "s": 41.497,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33005,
    "c": 0.10342,
    "h": 282.1
  },
  "luminance": 0.03332
}

Semantic roles & 50–950 ramp

primary
#2F2B68
secondary
#969A55
accent
#D156C9
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07050D
muted
#7A7A7E

Preview Lab

Preview with #2F2B68

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

Preview Lab → · Contrast checker → · Palette generator →

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