#2F1E92#2F1E92

#2F1E92 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.9% C 0.176 H 278.7°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#2F1E92
RGBrgb(47, 30, 146)
HSLhsl(249, 66%, 35%)
HSVhsv(249, 79%, 57%)
CMYKcmyk(67.8%, 79.5%, 0%, 42.7%)
CIE-LABlab(22.33, 42.59, -60.38)
CIE-LCHlch(22.33, 73.89, 305.20°)
OKLaboklab(34.93% 0.0268 -0.1744)
OKLCHoklch(34.93% 0.176 278.7)
XYZxyz(6.8232, 3.6076, 27.5253)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1E92 #81921E
analogous
#1E4792 #2F1E92 #691E92
triadic
#2F1E92 #922F1E #1E922F
tetradic
#2F1E92 #921E47 #81921E #1E9269
square
#2F1E92 #921E47 #81921E #1E9269
split-complementary
#2F1E92 #92691E #47921E
monochromatic
#0E092C #1F145F #2F1E92 #3F28C5 #644FDB

Accessibility & contrast

On white

12.20
#2F1E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2F1E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F1E92
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1E92#FFFFFF#000000##FFFFFF
##2F1E921.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A95
Deuteranopia (green-blind)
#003190
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2f1e92;
/* rgb */ color: rgb(47, 30, 146);
/* oklch */ color: oklch(34.9% 0.176 278.7);
Tailwind
colors: {
  custom: {
    50: '#765db3',
    500: '#2f1e92',
    950: '#000000',
  },
}
SCSS
$custom: #2f1e92;
$custom-light: #765db3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1e92",
  "rgb": {
    "r": 47,
    "g": 30,
    "b": 146
  },
  "hsl": {
    "h": 248.793,
    "s": 65.909,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34929,
    "c": 0.17641,
    "h": 278.7
  },
  "luminance": 0.03608
}

Semantic roles & 50–950 ramp

primary
#2F1E92
secondary
#ADBE4E
accent
#E93FD0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2F1E92

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

Preview Lab → · Contrast checker → · Palette generator →

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