#2F19A1#2F19A1

#2F19A1 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 36.1% C 0.198 H 277.1°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#2F19A1
RGBrgb(47, 25, 161)
HSLhsl(250, 73%, 36%)
HSVhsv(250, 84%, 63%)
CMYKcmyk(70.8%, 84.5%, 0%, 36.9%)
CIE-LABlab(23.24, 49.52, -68.08)
CIE-LCHlch(23.24, 84.18, 306.03°)
OKLaboklab(36.07% 0.0245 -0.1967)
OKLCHoklch(36.07% 0.198 277.1)
XYZxyz(7.9509, 3.8721, 34.0397)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F19A1 #8BA119
analogous
#1947A1 #2F19A1 #7319A1
triadic
#2F19A1 #A12F19 #19A12F
tetradic
#2F19A1 #A11947 #8BA119 #19A173
square
#2F19A1 #A11947 #8BA119 #19A173
split-complementary
#2F19A1 #A17319 #47A119
monochromatic
#100937 #20116C #2F19A1 #3E21D6 #6850E4

Accessibility & contrast

On white

11.83
#2F19A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2F19A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F19A1
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F19A1#FFFFFF#000000##FFFFFF
##2F19A11.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA5
Deuteranopia (green-blind)
#00329F
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2f19a1;
/* rgb */ color: rgb(47, 25, 161);
/* oklch */ color: oklch(36.1% 0.198 277.1);
Tailwind
colors: {
  custom: {
    50: '#7a5cbe',
    500: '#2f19a1',
    950: '#000000',
  },
}
SCSS
$custom: #2f19a1;
$custom-light: #7a5cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2f19a1",
  "rgb": {
    "r": 47,
    "g": 25,
    "b": 161
  },
  "hsl": {
    "h": 249.706,
    "s": 73.118,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36067,
    "c": 0.1982,
    "h": 277.1
  },
  "luminance": 0.03873
}

Semantic roles & 50–950 ramp

primary
#2F19A1
secondary
#B3C64F
accent
#F038D2
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2F19A1

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

Preview Lab → · Contrast checker → · Palette generator →

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