#2F2284#2F2284

#2F2284 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.155 H 280.3°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#2F2284
RGBrgb(47, 34, 132)
HSLhsl(248, 59%, 33%)
HSVhsv(248, 74%, 52%)
CMYKcmyk(64.4%, 74.2%, 0%, 48.2%)
CIE-LABlab(21.63, 35.86, -52.79)
CIE-LCHlch(21.63, 63.81, 304.19°)
OKLaboklab(33.99% 0.0276 -0.1523)
OKLCHoklch(33.99% 0.155 280.3)
XYZxyz(5.9079, 3.4139, 22.1729)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2284 #778422
analogous
#224684 #2F2284 #602284
triadic
#2F2284 #842F22 #22842F
tetradic
#2F2284 #842246 #778422 #228460
square
#2F2284 #842246 #778422 #228460
split-complementary
#2F2284 #846022 #468422
monochromatic
#0C0923 #1E1553 #2F2284 #402FB5 #604FD2

Accessibility & contrast

On white

12.48
#2F2284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2F2284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2284
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2284#FFFFFF#000000##FFFFFF
##2F22841.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003787
Deuteranopia (green-blind)
#003082
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2f2284;
/* rgb */ color: rgb(47, 34, 132);
/* oklch */ color: oklch(34.0% 0.155 280.3);
Tailwind
colors: {
  custom: {
    50: '#735fa9',
    500: '#2f2284',
    950: '#000000',
  },
}
SCSS
$custom: #2f2284;
$custom-light: #735fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2284",
  "rgb": {
    "r": 47,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 247.959,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33995,
    "c": 0.15474,
    "h": 280.3
  },
  "luminance": 0.03414
}

Semantic roles & 50–950 ramp

primary
#2F2284
secondary
#A7B54D
accent
#E246CD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2F2284

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

Preview Lab → · Contrast checker → · Palette generator →

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