#2F2384#2F2384

#2F2384 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.1% C 0.154 H 280.1°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#2F2384
RGBrgb(47, 35, 132)
HSLhsl(247, 58%, 33%)
HSVhsv(247, 73%, 52%)
CMYKcmyk(64.4%, 73.5%, 0%, 48.2%)
CIE-LABlab(21.84, 35.27, -52.44)
CIE-LCHlch(21.84, 63.20, 303.93°)
OKLaboklab(34.15% 0.0269 -0.1512)
OKLCHoklch(34.15% 0.154 280.1)
XYZxyz(5.9369, 3.4719, 22.1826)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2384 #788423
analogous
#234784 #2F2384 #602384
triadic
#2F2384 #842F23 #23842F
tetradic
#2F2384 #842347 #788423 #238460
square
#2F2384 #842347 #788423 #238460
split-complementary
#2F2384 #846023 #478423
monochromatic
#0D0923 #1E1654 #2F2384 #4030B4 #6051D1

Accessibility & contrast

On white

12.39
#2F2384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2F2384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2384
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2384#FFFFFF#000000##FFFFFF
##2F23841.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003887
Deuteranopia (green-blind)
#003182
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2f2384;
/* rgb */ color: rgb(47, 35, 132);
/* oklch */ color: oklch(34.1% 0.154 280.1);
Tailwind
colors: {
  custom: {
    50: '#735fa9',
    500: '#2f2384',
    950: '#000000',
  },
}
SCSS
$custom: #2f2384;
$custom-light: #735fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2384",
  "rgb": {
    "r": 47,
    "g": 35,
    "b": 132
  },
  "hsl": {
    "h": 247.423,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34146,
    "c": 0.15362,
    "h": 280.1
  },
  "luminance": 0.03472
}

Semantic roles & 50–950 ramp

primary
#2F2384
secondary
#A8B44E
accent
#E146CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2F2384

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

Preview Lab → · Contrast checker → · Palette generator →

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