#2F19A0#2F19A0

#2F19A0 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 36.0% C 0.197 H 277.2°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#2F19A0
RGBrgb(47, 25, 160)
HSLhsl(250, 73%, 36%)
HSVhsv(250, 84%, 63%)
CMYKcmyk(70.6%, 84.4%, 0%, 37.3%)
CIE-LABlab(23.12, 49.22, -67.67)
CIE-LCHlch(23.12, 83.67, 306.03°)
OKLaboklab(35.95% 0.0248 -0.1955)
OKLCHoklch(35.95% 0.197 277.2)
XYZxyz(7.8630, 3.8369, 33.5771)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F19A0 #8AA019
analogous
#1947A0 #2F19A0 #7319A0
triadic
#2F19A0 #A02F19 #19A02F
tetradic
#2F19A0 #A01947 #8AA019 #19A073
square
#2F19A0 #A01947 #8AA019 #19A073
split-complementary
#2F19A0 #A07319 #47A019
monochromatic
#100836 #1F116B #2F19A0 #3F21D5 #6850E4

Accessibility & contrast

On white

11.88
#2F19A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F19A0
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F19A0#FFFFFF#000000##FFFFFF
##2F19A01.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA4
Deuteranopia (green-blind)
#00319E
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2f19a0;
/* rgb */ color: rgb(47, 25, 160);
/* oklch */ color: oklch(36.0% 0.197 277.2);
Tailwind
colors: {
  custom: {
    50: '#7a5cbd',
    500: '#2f19a0',
    950: '#000000',
  },
}
SCSS
$custom: #2f19a0;
$custom-light: #7a5cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f19a0",
  "rgb": {
    "r": 47,
    "g": 25,
    "b": 160
  },
  "hsl": {
    "h": 249.778,
    "s": 72.973,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35951,
    "c": 0.19706,
    "h": 277.2
  },
  "luminance": 0.03838
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F19A0

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

Preview Lab → · Contrast checker → · Palette generator →

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