#2F199F#2F199F

#2F199F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.8% C 0.196 H 277.4°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#2F199F
RGBrgb(47, 25, 159)
HSLhsl(250, 73%, 36%)
HSVhsv(250, 84%, 62%)
CMYKcmyk(70.4%, 84.3%, 0%, 37.6%)
CIE-LABlab(23.01, 48.93, -67.25)
CIE-LCHlch(23.01, 83.17, 306.04°)
OKLaboklab(35.84% 0.0251 -0.1943)
OKLCHoklch(35.84% 0.196 277.4)
XYZxyz(7.7759, 3.8021, 33.1183)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F199F #899F19
analogous
#19469F #2F199F #72199F
triadic
#2F199F #9F2F19 #199F2F
tetradic
#2F199F #9F1946 #899F19 #199F72
square
#2F199F #9F1946 #899F19 #199F72
split-complementary
#2F199F #9F7219 #469F19
monochromatic
#100835 #1F116A #2F199F #3F21D4 #674FE3

Accessibility & contrast

On white

11.93
#2F199F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2F199F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F199F
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F199F#FFFFFF#000000##FFFFFF
##2F199F1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA3
Deuteranopia (green-blind)
#00319D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2f199f;
/* rgb */ color: rgb(47, 25, 159);
/* oklch */ color: oklch(35.8% 0.196 277.4);
Tailwind
colors: {
  custom: {
    50: '#7a5bbd',
    500: '#2f199f',
    950: '#000000',
  },
}
SCSS
$custom: #2f199f;
$custom-light: #7a5bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f199f",
  "rgb": {
    "r": 47,
    "g": 25,
    "b": 159
  },
  "hsl": {
    "h": 249.851,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35835,
    "c": 0.19591,
    "h": 277.4
  },
  "luminance": 0.03803
}

Semantic roles & 50–950 ramp

primary
#2F199F
secondary
#B2C64E
accent
#F038D1
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2F199F

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

Preview Lab → · Contrast checker → · Palette generator →

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