#2F1EBB#2F1EBB

#2F1EBB is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.6% C 0.224 H 273.9°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#2F1EBB
RGBrgb(47, 30, 187)
HSLhsl(246, 72%, 43%)
HSVhsv(246, 84%, 73%)
CMYKcmyk(74.9%, 84%, 0%, 26.7%)
CIE-LABlab(27.07, 55.04, -77.35)
CIE-LCHlch(27.07, 94.93, 305.43°)
OKLaboklab(39.6% 0.0152 -0.2237)
OKLCHoklch(39.6% 0.224 273.9)
XYZxyz(10.6032, 5.1196, 47.4335)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1EBB #AABB1E
analogous
#1E5BBB #2F1EBB #7E1EBB
triadic
#2F1EBB #BB2F1E #1EBB2F
tetradic
#2F1EBB #BB1E5B #AABB1E #1EBB7E
square
#2F1EBB #BB1E5B #AABB1E #1EBB7E
split-complementary
#2F1EBB #BB7E1E #5BBB1E
monochromatic
#140D52 #221686 #2F1EBB #4937DF #796CE7

Accessibility & contrast

On white

10.37
#2F1EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2F1EBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F1EBB
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1EBB#FFFFFF#000000##FFFFFF
##2F1EBB1.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047BF
Deuteranopia (green-blind)
#0039B8
Tritanopia (blue-blind)
#00516F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f1ebb;
/* rgb */ color: rgb(47, 30, 187);
/* oklch */ color: oklch(39.6% 0.224 273.9);
Tailwind
colors: {
  custom: {
    50: '#8060d1',
    500: '#2f1ebb',
    950: '#000000',
  },
}
SCSS
$custom: #2f1ebb;
$custom-light: #8060d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1ebb",
  "rgb": {
    "r": 47,
    "g": 30,
    "b": 187
  },
  "hsl": {
    "h": 246.497,
    "s": 72.35,
    "l": 42.549
  },
  "oklch": {
    "l": 0.39595,
    "c": 0.22417,
    "h": 273.9
  },
  "luminance": 0.05121
}

Semantic roles & 50–950 ramp

primary
#2F1EBB
secondary
#C2CD67
accent
#EF39DB
background
#F8F5FD
surface
#F0EAFA
border
#CBC6D3
text
#0C0514
muted
#7D7983

Preview Lab

Preview with #2F1EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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