#2F2984#2F2984

#2F2984 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.146 H 278.6°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#2F2984
RGBrgb(47, 41, 132)
HSLhsl(244, 53%, 34%)
HSVhsv(244, 69%, 52%)
CMYKcmyk(64.4%, 68.9%, 0%, 48.2%)
CIE-LABlab(23.19, 31.58, -50.23)
CIE-LCHlch(23.19, 59.33, 302.16°)
OKLaboklab(35.11% 0.022 -0.1448)
OKLCHoklch(35.11% 0.146 278.6)
XYZxyz(6.1288, 3.8557, 22.2466)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2984 #7E8429
analogous
#295184 #2F2984 #5D2984
triadic
#2F2984 #842F29 #29842F
tetradic
#2F2984 #842951 #7E8429 #29845D
square
#2F2984 #842951 #7E8429 #29845D
split-complementary
#2F2984 #845D29 #518429
monochromatic
#0E0C27 #1E1A55 #2F2984 #4038B3 #635BCC

Accessibility & contrast

On white

11.86
#2F2984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2F2984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2984
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2984#FFFFFF#000000##FFFFFF
##2F29841.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B87
Deuteranopia (green-blind)
#003482
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2f2984;
/* rgb */ color: rgb(47, 41, 132);
/* oklch */ color: oklch(35.1% 0.146 278.6);
Tailwind
colors: {
  custom: {
    50: '#7263a9',
    500: '#2f2984',
    950: '#000000',
  },
}
SCSS
$custom: #2f2984;
$custom-light: #7263a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2984",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 132
  },
  "hsl": {
    "h": 243.956,
    "s": 52.601,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35112,
    "c": 0.14645,
    "h": 278.6
  },
  "luminance": 0.03856
}

Semantic roles & 50–950 ramp

primary
#2F2984
secondary
#ACB257
accent
#DC4CD3
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2F2984

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

Preview Lab → · Contrast checker → · Palette generator →

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