#2F2084#2F2084

#2F2084 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.157 H 280.7°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#2F2084
RGBrgb(47, 32, 132)
HSLhsl(249, 61%, 32%)
HSVhsv(249, 76%, 52%)
CMYKcmyk(64.4%, 75.8%, 0%, 48.2%)
CIE-LABlab(21.22, 37.02, -53.46)
CIE-LCHlch(21.22, 65.03, 304.70°)
OKLaboklab(33.7% 0.0291 -0.1542)
OKLCHoklch(33.7% 0.157 280.7)
XYZxyz(5.8523, 3.3029, 22.1544)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2084 #758420
analogous
#204384 #2F2084 #612084
triadic
#2F2084 #842F20 #20842F
tetradic
#2F2084 #842043 #758420 #208461
square
#2F2084 #842043 #758420 #208461
split-complementary
#2F2084 #846120 #438420
monochromatic
#0C0821 #1D1453 #2F2084 #412CB5 #5F4BD3

Accessibility & contrast

On white

12.65
#2F2084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2F2084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2084
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2084#FFFFFF#000000##FFFFFF
##2F20841.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003687
Deuteranopia (green-blind)
#002F82
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2f2084;
/* rgb */ color: rgb(47, 32, 132);
/* oklch */ color: oklch(33.7% 0.157 280.7);
Tailwind
colors: {
  custom: {
    50: '#735ea9',
    500: '#2f2084',
    950: '#000000',
  },
}
SCSS
$custom: #2f2084;
$custom-light: #735ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2084",
  "rgb": {
    "r": 47,
    "g": 32,
    "b": 132
  },
  "hsl": {
    "h": 249,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33702,
    "c": 0.15696,
    "h": 280.7
  },
  "luminance": 0.03303
}

Semantic roles & 50–950 ramp

primary
#2F2084
secondary
#A6B64A
accent
#E444CC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2F2084

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

Preview Lab → · Contrast checker → · Palette generator →

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