#2F1DA0#2F1DA0

#2F1DA0 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.4% C 0.194 H 276.9°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#2F1DA0
RGBrgb(47, 29, 160)
HSLhsl(248, 69%, 37%)
HSVhsv(248, 82%, 63%)
CMYKcmyk(70.6%, 81.9%, 0%, 37.3%)
CIE-LABlab(23.74, 47.42, -66.65)
CIE-LCHlch(23.74, 81.80, 305.43°)
OKLaboklab(36.37% 0.0232 -0.1926)
OKLCHoklch(36.37% 0.194 276.9)
XYZxyz(7.9548, 4.0204, 33.6077)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1DA0 #8EA01D
analogous
#1D4DA0 #2F1DA0 #701DA0
triadic
#2F1DA0 #A02F1D #1DA02F
tetradic
#2F1DA0 #A01D4D #8EA01D #1DA070
square
#2F1DA0 #A01D4D #8EA01D #1DA070
split-complementary
#2F1DA0 #A0701D #4DA01D
monochromatic
#110A38 #20146C #2F1DA0 #3E26D4 #6A57E1

Accessibility & contrast

On white

11.64
#2F1DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2F1DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F1DA0
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1DA0#FFFFFF#000000##FFFFFF
##2F1DA01.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA4
Deuteranopia (green-blind)
#00339E
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2f1da0;
/* rgb */ color: rgb(47, 29, 160);
/* oklch */ color: oklch(36.4% 0.194 276.9);
Tailwind
colors: {
  custom: {
    50: '#7a5ebd',
    500: '#2f1da0',
    950: '#000000',
  },
}
SCSS
$custom: #2f1da0;
$custom-light: #7a5ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1da0",
  "rgb": {
    "r": 47,
    "g": 29,
    "b": 160
  },
  "hsl": {
    "h": 248.244,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36374,
    "c": 0.194,
    "h": 276.9
  },
  "luminance": 0.04021
}

Semantic roles & 50–950 ramp

primary
#2F1DA0
secondary
#B5C455
accent
#EC3CD4
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2F1DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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