#2F2082#2F2082

#2F2082 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.154 H 281.0°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#2F2082
RGBrgb(47, 32, 130)
HSLhsl(249, 60%, 32%)
HSVhsv(249, 75%, 51%)
CMYKcmyk(63.8%, 75.4%, 0%, 49%)
CIE-LABlab(21.01, 36.36, -52.54)
CIE-LCHlch(21.01, 63.90, 304.69°)
OKLaboklab(33.5% 0.0296 -0.1515)
OKLCHoklch(33.5% 0.154 281)
XYZxyz(5.7168, 3.2486, 21.4406)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2082 #738220
analogous
#204282 #2F2082 #602082
triadic
#2F2082 #822F20 #20822F
tetradic
#2F2082 #822042 #738220 #208260
square
#2F2082 #822042 #738220 #208260
split-complementary
#2F2082 #826020 #428220
monochromatic
#0B0820 #1D1451 #2F2082 #412CB3 #5F4AD2

Accessibility & contrast

On white

12.73
#2F2082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2F2082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2082
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2082#FFFFFF#000000##FFFFFF
##2F20821.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003685
Deuteranopia (green-blind)
#002F80
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2f2082;
/* rgb */ color: rgb(47, 32, 130);
/* oklch */ color: oklch(33.5% 0.154 281.0);
Tailwind
colors: {
  custom: {
    50: '#735da7',
    500: '#2f2082',
    950: '#000000',
  },
}
SCSS
$custom: #2f2082;
$custom-light: #735da7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2082",
  "rgb": {
    "r": 47,
    "g": 32,
    "b": 130
  },
  "hsl": {
    "h": 249.184,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33495,
    "c": 0.15439,
    "h": 281
  },
  "luminance": 0.03249
}

Semantic roles & 50–950 ramp

primary
#2F2082
secondary
#A4B549
accent
#E444CB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2F2082

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

Preview Lab → · Contrast checker → · Palette generator →

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