#2F1CA0#2F1CA0

#2F1CA0 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.3% C 0.195 H 277.0°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#2F1CA0
RGBrgb(47, 28, 160)
HSLhsl(249, 70%, 37%)
HSVhsv(249, 83%, 63%)
CMYKcmyk(70.6%, 82.5%, 0%, 37.3%)
CIE-LABlab(23.58, 47.89, -66.91)
CIE-LCHlch(23.58, 82.28, 305.59°)
OKLaboklab(36.26% 0.0237 -0.1933)
OKLCHoklch(36.26% 0.195 277)
XYZxyz(7.9306, 3.9722, 33.5997)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1CA0 #8DA01C
analogous
#1C4BA0 #2F1CA0 #711CA0
triadic
#2F1CA0 #A02F1C #1CA02F
tetradic
#2F1CA0 #A01C4B #8DA01C #1CA071
square
#2F1CA0 #A01C4B #8DA01C #1CA071
split-complementary
#2F1CA0 #A0711C #4BA01C
monochromatic
#100A38 #20136C #2F1CA0 #3E25D4 #6955E1

Accessibility & contrast

On white

11.70
#2F1CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2F1CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F1CA0
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1CA0#FFFFFF#000000##FFFFFF
##2F1CA01.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f1ca0;
/* rgb */ color: rgb(47, 28, 160);
/* oklch */ color: oklch(36.3% 0.195 277.0);
Tailwind
colors: {
  custom: {
    50: '#7a5dbd',
    500: '#2f1ca0',
    950: '#000000',
  },
}
SCSS
$custom: #2f1ca0;
$custom-light: #7a5dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1ca0",
  "rgb": {
    "r": 47,
    "g": 28,
    "b": 160
  },
  "hsl": {
    "h": 248.636,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36264,
    "c": 0.19479,
    "h": 277
  },
  "luminance": 0.03973
}

Semantic roles & 50–950 ramp

primary
#2F1CA0
secondary
#B4C453
accent
#ED3BD3
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2F1CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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