#2F2C92#2F2C92

#2F2C92 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.162 H 276.3°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#2F2C92
RGBrgb(47, 44, 146)
HSLhsl(242, 54%, 37%)
HSVhsv(242, 70%, 57%)
CMYKcmyk(67.8%, 69.9%, 0%, 42.7%)
CIE-LABlab(25.20, 34.56, -55.65)
CIE-LCHlch(25.20, 65.50, 301.84°)
OKLaboklab(36.97% 0.0177 -0.1607)
OKLCHoklch(36.97% 0.162 276.3)
XYZxyz(7.2596, 4.4804, 27.6708)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2C92 #8F922C
analogous
#2C5C92 #2F2C92 #622C92
triadic
#2F2C92 #922F2C #2C922F
tetradic
#2F2C92 #922C5C #8F922C #2C9262
square
#2F2C92 #922C5C #8F922C #2C9262
split-complementary
#2F2C92 #92622C #5C922C
monochromatic
#111034 #201E63 #2F2C92 #3E3AC1 #6A67D1

Accessibility & contrast

On white

11.07
#2F2C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2F2C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2C92
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2C92#FFFFFF#000000##FFFFFF
##2F2C921.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#003790
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f2c92;
/* rgb */ color: rgb(47, 44, 146);
/* oklch */ color: oklch(37.0% 0.162 276.3);
Tailwind
colors: {
  custom: {
    50: '#7566b3',
    500: '#2f2c92',
    950: '#000000',
  },
}
SCSS
$custom: #2f2c92;
$custom-light: #7566b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2c92",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 146
  },
  "hsl": {
    "h": 241.765,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36968,
    "c": 0.16164,
    "h": 276.3
  },
  "luminance": 0.04481
}

Semantic roles & 50–950 ramp

primary
#2F2C92
secondary
#B5B862
accent
#DD4BD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2F2C92

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

Preview Lab → · Contrast checker → · Palette generator →

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