#2F2D92#2F2D92

#2F2D92 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.1% C 0.160 H 276.1°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#2F2D92
RGBrgb(47, 45, 146)
HSLhsl(241, 53%, 37%)
HSVhsv(241, 69%, 57%)
CMYKcmyk(67.8%, 69.2%, 0%, 42.7%)
CIE-LABlab(25.43, 33.93, -55.27)
CIE-LCHlch(25.43, 64.86, 301.55°)
OKLaboklab(37.13% 0.017 -0.1596)
OKLCHoklch(37.13% 0.16 276.1)
XYZxyz(7.2973, 4.5558, 27.6834)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D92 #90922D
analogous
#2D5E92 #2F2D92 #612D92
triadic
#2F2D92 #922F2D #2D922F
tetradic
#2F2D92 #922D5E #90922D #2D9261
square
#2F2D92 #922D5E #90922D #2D9261
split-complementary
#2F2D92 #92612D #5E922D
monochromatic
#111034 #201F63 #2F2D92 #3E3BC1 #6B69D1

Accessibility & contrast

On white

10.99
#2F2D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2F2D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2D92
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D92#FFFFFF#000000##FFFFFF
##2F2D921.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#003890
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f2d92;
/* rgb */ color: rgb(47, 45, 146);
/* oklch */ color: oklch(37.1% 0.160 276.1);
Tailwind
colors: {
  custom: {
    50: '#7566b3',
    500: '#2f2d92',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d92;
$custom-light: #7566b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d92",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 146
  },
  "hsl": {
    "h": 241.188,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37134,
    "c": 0.16046,
    "h": 276.1
  },
  "luminance": 0.04556
}

Semantic roles & 50–950 ramp

primary
#2F2D92
secondary
#B6B763
accent
#DC4CD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2F2D92

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

Preview Lab → · Contrast checker → · Palette generator →

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