#2F1BA5#2F1BA5

#2F1BA5 is a dark, highly saturated blue. Relative luminance 0.041; OKLCH L 36.7% C 0.201 H 276.4°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#2F1BA5
RGBrgb(47, 27, 165)
HSLhsl(249, 72%, 38%)
HSVhsv(249, 84%, 65%)
CMYKcmyk(71.5%, 83.6%, 0%, 35.3%)
CIE-LABlab(24.01, 49.84, -69.24)
CIE-LCHlch(24.01, 85.31, 305.75°)
OKLaboklab(36.73% 0.0225 -0.2001)
OKLCHoklch(36.73% 0.201 276.4)
XYZxyz(8.3535, 4.1040, 35.9419)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1BA5 #91A51B
analogous
#1B4CA5 #2F1BA5 #741BA5
triadic
#2F1BA5 #A52F1B #1BA52F
tetradic
#2F1BA5 #A51B4C #91A51B #1BA574
square
#2F1BA5 #A51B4C #91A51B #1BA574
split-complementary
#2F1BA5 #A5741B #4CA51B
monochromatic
#110A3C #201270 #2F1BA5 #3E24DA #6B57E3

Accessibility & contrast

On white

11.53
#2F1BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2F1BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F1BA5
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1BA5#FFFFFF#000000##FFFFFF
##2F1BA51.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA9
Deuteranopia (green-blind)
#0033A3
Tritanopia (blue-blind)
#004762
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2f1ba5;
/* rgb */ color: rgb(47, 27, 165);
/* oklch */ color: oklch(36.7% 0.201 276.4);
Tailwind
colors: {
  custom: {
    50: '#7b5dc1',
    500: '#2f1ba5',
    950: '#000000',
  },
}
SCSS
$custom: #2f1ba5;
$custom-light: #7b5dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1ba5",
  "rgb": {
    "r": 47,
    "g": 27,
    "b": 165
  },
  "hsl": {
    "h": 248.696,
    "s": 71.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36733,
    "c": 0.20134,
    "h": 276.4
  },
  "luminance": 0.04105
}

Semantic roles & 50–950 ramp

primary
#2F1BA5
secondary
#B6C755
accent
#EF39D4
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2F1BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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