#2F1CAD#2F1CAD

#2F1CAD is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.8% C 0.210 H 275.4°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#2F1CAD
RGBrgb(47, 28, 173)
HSLhsl(248, 72%, 39%)
HSVhsv(248, 84%, 68%)
CMYKcmyk(72.8%, 83.8%, 0%, 32.2%)
CIE-LABlab(25.11, 51.77, -72.25)
CIE-LCHlch(25.11, 88.88, 305.63°)
OKLaboklab(37.76% 0.0198 -0.2088)
OKLCHoklch(37.76% 0.21 275.4)
XYZxyz(9.1279, 4.4511, 39.9052)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1CAD #9AAD1C
analogous
#1C52AD #2F1CAD #781CAD
triadic
#2F1CAD #AD2F1C #1CAD2F
tetradic
#2F1CAD #AD1C52 #9AAD1C #1CAD78
square
#2F1CAD #AD1C52 #9AAD1C #1CAD78
split-complementary
#2F1CAD #AD781C #52AD1C
monochromatic
#120B44 #211378 #2F1CAD #412ADC #705EE5

Accessibility & contrast

On white

11.11
#2F1CAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2F1CAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F1CAD
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1CAD#FFFFFF#000000##FFFFFF
##2F1CAD1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B1
Deuteranopia (green-blind)
#0035AB
Tritanopia (blue-blind)
#004B67
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f1cad;
/* rgb */ color: rgb(47, 28, 173);
/* oklch */ color: oklch(37.8% 0.210 275.4);
Tailwind
colors: {
  custom: {
    50: '#7d5ec7',
    500: '#2f1cad',
    950: '#000000',
  },
}
SCSS
$custom: #2f1cad;
$custom-light: #7d5ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1cad",
  "rgb": {
    "r": 47,
    "g": 28,
    "b": 173
  },
  "hsl": {
    "h": 247.862,
    "s": 72.139,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37763,
    "c": 0.20976,
    "h": 275.4
  },
  "luminance": 0.04452
}

Semantic roles & 50–950 ramp

primary
#2F1CAD
secondary
#BBC95C
accent
#EF39D7
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2F1CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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