#2F2B76#2F2B76

#2F2B76 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.2% C 0.124 H 279.9°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#2F2B76
RGBrgb(47, 43, 118)
HSLhsl(243, 47%, 32%)
HSVhsv(243, 64%, 46%)
CMYKcmyk(60.2%, 63.6%, 0%, 53.7%)
CIE-LABlab(22.44, 25.38, -42.58)
CIE-LCHlch(22.44, 49.57, 300.80°)
OKLaboklab(34.19% 0.0214 -0.1223)
OKLCHoklch(34.19% 0.124 279.9)
XYZxyz(5.3052, 3.6397, 17.5590)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2B76 #72762B
analogous
#2B4D76 #2F2B76 #552B76
triadic
#2F2B76 #762F2B #2B762F
tetradic
#2F2B76 #762B4D #72762B #2B7655
square
#2F2B76 #762B4D #72762B #2B7655
split-complementary
#2F2B76 #76552B #4D762B
monochromatic
#0B0A1C #1D1B49 #2F2B76 #413BA3 #5F59C2

Accessibility & contrast

On white

12.15
#2F2B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2B76
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2B76#FFFFFF#000000##FFFFFF
##2F2B761.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#003374
Tritanopia (blue-blind)
#053D4C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2f2b76;
/* rgb */ color: rgb(47, 43, 118);
/* oklch */ color: oklch(34.2% 0.124 279.9);
Tailwind
colors: {
  custom: {
    50: '#6f649e',
    500: '#2f2b76',
    950: '#000000',
  },
}
SCSS
$custom: #2f2b76;
$custom-light: #6f649e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2b76",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 118
  },
  "hsl": {
    "h": 243.2,
    "s": 46.584,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34185,
    "c": 0.12419,
    "h": 279.9
  },
  "luminance": 0.0364
}

Semantic roles & 50–950 ramp

primary
#2F2B76
secondary
#A3A855
accent
#D652CF
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #2F2B76

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

Preview Lab → · Contrast checker → · Palette generator →

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