#2F2CB6#2F2CB6

#2F2CB6 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.7% C 0.207 H 273.2°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#2F2CB6
RGBrgb(47, 44, 182)
HSLhsl(241, 61%, 44%)
HSVhsv(241, 76%, 71%)
CMYKcmyk(74.2%, 75.8%, 0%, 28.6%)
CIE-LABlab(28.86, 46.67, -71.43)
CIE-LCHlch(28.86, 85.32, 303.16°)
OKLaboklab(40.67% 0.0115 -0.2067)
OKLCHoklch(40.67% 0.207 273.2)
XYZxyz(10.5136, 5.7820, 44.8089)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2CB6 #B3B62C
analogous
#2C6EB6 #2F2CB6 #742CB6
triadic
#2F2CB6 #B62F2C #2CB62F
tetradic
#2F2CB6 #B62C6E #B3B62C #2CB674
square
#2F2CB6 #B62C6E #B3B62C #2CB674
split-complementary
#2F2CB6 #B6742C #6EB62C
monochromatic
#161453 #222085 #2F2CB6 #4F4CD4 #7F7DE0

Accessibility & contrast

On white

9.74
#2F2CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2F2CB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2CB6
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2CB6#FFFFFF#000000##FFFFFF
##2F2CB61.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBA
Deuteranopia (green-blind)
#003DB4
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2f2cb6;
/* rgb */ color: rgb(47, 44, 182);
/* oklch */ color: oklch(40.7% 0.207 273.2);
Tailwind
colors: {
  custom: {
    50: '#7d67cd',
    500: '#2f2cb6',
    950: '#000000',
  },
}
SCSS
$custom: #2f2cb6;
$custom-light: #7d67cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2cb6",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 241.304,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.40672,
    "c": 0.207,
    "h": 273.2
  },
  "luminance": 0.05783
}

Semantic roles & 50–950 ramp

primary
#2F2CB6
secondary
#C6C876
accent
#E444E1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2F2CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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