#2F2184#2F2184

#2F2184 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.8% C 0.156 H 280.5°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#2F2184
RGBrgb(47, 33, 132)
HSLhsl(248, 60%, 32%)
HSVhsv(248, 75%, 52%)
CMYKcmyk(64.4%, 75%, 0%, 48.2%)
CIE-LABlab(21.42, 36.44, -53.13)
CIE-LCHlch(21.42, 64.42, 304.45°)
OKLaboklab(33.85% 0.0284 -0.1533)
OKLCHoklch(33.85% 0.156 280.5)
XYZxyz(5.8797, 3.3576, 22.1636)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2184 #768421
analogous
#214484 #2F2184 #612184
triadic
#2F2184 #842F21 #21842F
tetradic
#2F2184 #842144 #768421 #218461
square
#2F2184 #842144 #768421 #218461
split-complementary
#2F2184 #846121 #448421
monochromatic
#0C0922 #1E1553 #2F2184 #402DB5 #604DD2

Accessibility & contrast

On white

12.56
#2F2184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2F2184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2184
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2184#FFFFFF#000000##FFFFFF
##2F21841.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2184;
/* rgb */ color: rgb(47, 33, 132);
/* oklch */ color: oklch(33.8% 0.156 280.5);
Tailwind
colors: {
  custom: {
    50: '#735ea9',
    500: '#2f2184',
    950: '#000000',
  },
}
SCSS
$custom: #2f2184;
$custom-light: #735ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2184",
  "rgb": {
    "r": 47,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 248.485,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33847,
    "c": 0.15586,
    "h": 280.5
  },
  "luminance": 0.03358
}

Semantic roles & 50–950 ramp

primary
#2F2184
secondary
#A7B64B
accent
#E345CD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2F2184

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

Preview Lab → · Contrast checker → · Palette generator →

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