#2F2992#2F2992

#2F2992 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.165 H 276.9°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#2F2992
RGBrgb(47, 41, 146)
HSLhsl(243, 56%, 37%)
HSVhsv(243, 72%, 57%)
CMYKcmyk(67.8%, 71.9%, 0%, 42.7%)
CIE-LABlab(24.53, 36.40, -56.75)
CIE-LCHlch(24.53, 67.42, 302.67°)
OKLaboklab(36.49% 0.0199 -0.1639)
OKLCHoklch(36.49% 0.165 276.9)
XYZxyz(7.1518, 4.2649, 27.6349)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2992 #8C9229
analogous
#295892 #2F2992 #642992
triadic
#2F2992 #922F29 #29922F
tetradic
#2F2992 #922958 #8C9229 #299264
square
#2F2992 #922958 #8C9229 #299264
split-complementary
#2F2992 #926429 #589229
monochromatic
#100E32 #201C62 #2F2992 #3E36C2 #6962D3

Accessibility & contrast

On white

11.33
#2F2992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2F2992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2992
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2992#FFFFFF#000000##FFFFFF
##2F29921.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003690
Tritanopia (blue-blind)
#00465A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f2992;
/* rgb */ color: rgb(47, 41, 146);
/* oklch */ color: oklch(36.5% 0.165 276.9);
Tailwind
colors: {
  custom: {
    50: '#7564b3',
    500: '#2f2992',
    950: '#000000',
  },
}
SCSS
$custom: #2f2992;
$custom-light: #7564b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2992",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 146
  },
  "hsl": {
    "h": 243.429,
    "s": 56.15,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36486,
    "c": 0.16508,
    "h": 276.9
  },
  "luminance": 0.04266
}

Semantic roles & 50–950 ramp

primary
#2F2992
secondary
#B4B95E
accent
#DF48D7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #2F2992

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

Preview Lab → · Contrast checker → · Palette generator →

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